As a state official, he served as interior minister in the Sjahrir III Cabinet, foreign minister during the Natsir Cabinet, interior minister during the Wilopo Cabinet, and deputy prime minister during the Ali Sastroamidjojo II Cabinet.
Sebagai pejabat negara, ia menjabat sebagai Menteri dalam negeri di Kabinet Sjahrir III, menteri luar negeri selama Kabinet Natsir, menteri dalam negeri selama Kabinet Wilopo, dan wakil perdana menteri semakin selama Kabinet Ali Sastroamidjojo II.