He was also a senator during the United States of Indonesia period, representing Central Java, was ambassador to Hungary between 1962 and 1966, and served for eight years in the People's Representative Council.