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