Career
He was aligned with Doctor Mahathir during the 1987 UMNO General Assembly. He was the chief minister of Malacca from 1982 to 1994. In 1994 Rahim was charged with statutory rape of a minor.
However, the public prosecutor later withdrew the charge citing lack of evidence.