 He later became a High Court judge and then a Federal Court judge.He first took oath as a Judge of the High Court of Malaya on the 25th of June 1966 before Chief Justice of Malaya, Dato Azmi bin Haji Mohamed, Justice Dato Ong Hock Thye and Justice Dato Aziz bin Mohamed Zain.After retirement, he held various posts including