Pan-Malaysian Islamic Party
He served in the pre-independence Federal Legislative Council of Malaya, having been elected to the chamber in the 1955 election for the seat of Krian, Perak. He was a member of the party later known as the Pan-Malaysian Islamic Party (PAS).