The Prime Minister's Office, in a statement issued on Tuesday, said Bukit Aman Criminal Investigation Department (CID) director Datuk Seri Bakri Zinin will take over as the new deputy IGP, effective the same day.
It said the Yang di-Pertuan Agong had consented to their appointments.
Khalid, 55, who hails from Seremban, attended training as a police inspector at the Police Training Centre on Dec 5, 1976.
He was head of the Kedah Anti-Narcotic Department in 1997 and six years later, was the Pahang Police Management Department head before being appointed Kuantan District Police Chief.
On Oct 13, 2010, he was appointed Director of the Bukit Aman's Internal Security and Public Order Department and not long after that, as Deputy Inspector-General of Police.
Meanwhile, Mohd Bakri, 59, who is from Penampang, Sabah holds a Diploma in Police Science from Universiti Kebangsaan Malaysia (UKM) and joined the police force on Nov 6, 1975 as a probationary inspector.
He had served as the deputy district police chief of Kota Kinabalu and Seremban and the district police chief of Kudat, Sandakan, Lahad Datu, Cheras and Dang Wangi.
Mohd Bakri was the Assistant Director of the Crime Intelligence Unit (D4), Bukit Aman CID, before heading the Sabah CID in 2003 and in 2005, appointed Sabah Deputy Police Commissioner.
In 2006, he was appointed Deputy Director (Intelligence/Operation) of the Bukit Aman Narcotic CID and then the department's director, before appointed Bukit Aman CID Director in 2008.