Янг ди-Пертуан Агонг
The Deputy Yang di-Pertuan Agong does not automatically succeed as Yang di-Pertuan Agong when a vacancy occurs in that office. The Deputy Yang di-Pertuan Agong acts as head of state before the election of the new Yang di-Pertuan Agong and Deputy Yang di-Pertuan Agong.