州元首
On 4 June 2004, Khalil was appointed Yang di-Pertua Negeri of Melaka by Yang di-Pertuan Agong Tuanku Syed Sirajuddin.