The Sultan's rule was marked by Selangor joining the Federated Malay States, a federation of four protectorates in the Malay Peninsula, including Perak, Negeri Sembilan and Pahang, established by the British government in 1895, which lasted until 1946.