In 1755, during the Third Javanese War of Succession, the Sultanate of Mataram split into the Surakarta Sunanate and the Yogyakarta Sultanate (contemporaneous Dutch spelling: "Djokjakarta"); Mankunegoro split from Surakarta in 1757. Lastly, Paku Alam split off from Yogyakarta in 1812 after the Invasion of Java (1811).