Malaysia's former Prime Minister Mahathir Mohamad has been sacked by the political party he co-founded after sitting on opposition benches during a May 18 parliamentary session.

A statement on Thursday from the United Indigenous Party of Malaysia, known by its Malay acronym Bersatu, said Mahathir's membership had been "revoked with immediate effect".