Yang di-Pertua Negeri
Mohd Ali entered the office the Yang di-Pertua Negeri of Melaka on 5 June 2020 replacing Mohd Khalil Yaakob who ended his sixteen-year tenure as the Yang di-Pertua Negeri of Melaka. He is the first native Malaccan held the highest post.