After liberation, Chowdhury returned to Dhaka and was elected as President of Bangladesh on 12 January 1972. On 10 April 1973, he was again elected as President of Bangladesh, and in the same year (December) he resigned and become special envoy for external relations with the rank of a minister. On 8 August 1975, he was included in the cabinet of Sheikh Mujibur Rahman as minister of ports and shipping. After Rahman was assassinated, he became the minister for foreign affairs in the cabinet of President Khondaker Mostaq Ahmad in August 1975, a position which he held till 7 November the same year.