A Bengali civil servant, Rahim was a philosopher who politically guided Zulfikar Ali Bhutto, serving as his mentor, and had helped Bhutto navigate through the minefield of bureaucratic establishment when Ayub Khan had taken Bhutto into his cabinet.[3] Rahim also guided Bhutto after Bhutto was deposed as Foreign Minister, critically guiding Bhutto to take down the once US-sponsored dictatorship of Ayub Khan.[3]