In the seventeenth century Kartasura was the capital of the Sultanate of Mataram between 1680 and 1755. This time period is commonly referred to as the Kartasura era or period of the Mataram sultanate—it preceded the transfer to Surakarta by Pakubuwana II.
There were considerable problems for the sultanate in this era: