 Following the bloody Pahang Civil War that was concluded in 1863, the state under Tun Ahmad of the Bendahara dynasty, was eventually restored as a Sultanate in 1881.In 1895, Pahang became a British protectorate along with the states of Perak, Selangor and Negeri Sembilan.During the World War II, Pahang and other states of Malaya were occupied by the Empire of Japan from 1941 to 1945.