Penang, Melaka, Labuan and Singapore were ruled by the British colony of India.
Penang from 1786-1867. 81 years.
Melaka from 1795-1867. 72 years.
Singapore from 1824-1867. 43 years.
Labuan from 1846-1867. 21 years.
After 1867 they formed the Straits Settlements Colony.
Straits Settlements Colony was from 1867-1946. 79 years.
British ruled Malaysia from 1795 to 1963.
From 1795 to 1824 they were ruling Malaysia on Dutch trusteeship.
Holland had been conquered by France between 1795 and 1818. And Holland had to be rebuilt after the war.