Original: The kingdom of Mataram on Java is divided in two, creating the sultanate of Yogyakarta and the sunanate of Surakarta.
Simplified: The sultanate of Mataram on Java is divided in two, creating the sultanates of Yogyakarta and Surakarta.