Náta Kasúma, the minister, still feigning allegiance, returned to Kérta Súra; but the part he had taken being discovered, he was sent to Semárang on a false mission, as was customary in such cases, and there entrapped by the Dutch and conveyed to Ceylon.

The Chinese, with their emperor, now marched with great expedition to Kérta Súra, in order to attack the Susúnan, and met with but little resistance. The troops of the Susúnan, under the command of Ráden Prínga Láya, were defeated, Kérta Súra was surprised, and the Susúnan was obliged to leave his court, and treasures to the enemy. His queen, sister, and children, on horseback, together with his mother, carried by two Europeans, under the conduct of two Dutch officers, through a back gate of the dálam, were pursued and overtaken. The Susúnan and the hereditary prince only were enabled to save themselves by flight.

It was not likely that an alliance between the Chinese and Javans, people so different and hostile to each other, could be of any long duration. While the Chinese became relaxed in their discipline, and indulged in every species of irregularity, the fugitive emperor, being now joined by the Dutch and Madurese, received the submission of many of the rebel chiefs, and pardoned them; but he refused to pay attention to the offers of submission made by the Chinese. The prince of Madúra, at length, succeeded in making himself master of Kérta Súra, from whence the Susúnan Kuning was obliged to fly, after a reign of four months.

The Chinese being afterwards defeated in a pitched battle at Asém, retreated to Brambánan, and the Susúnan again arrived in his capital. When, however, the prince of Madúra, who was by no means well inclined to the Susúnan, found himself in possession of Kérta Súra, he made an attempt to raise to the throne Pangéran Angebai, the Susúnan's brother. The Susúnan was once more obliged to quit his capital, and it was not until after much negociation between the Dutch and the Javans, that he was re-established. Whether this attempt on the part of the Madurese prince was serious, or only intended to render the sovereign more complying to the demands of his allies, is not known. The negociation, however, as was usual in similar cases, turned out highly advantageous to the Dutch interests, a treaty being dictated by them without the walls of the palace, and before the prince was permitted to enter it.

The Chinese, who had meanwhile remained at Brambánan unmolested for two whole months, were now joined by Páku Nagára, a man noted among the Javans for his eminent abilities, and distinguished afterwards for the conspicuous part he acted in what is called "the war of Java," and through his means the party were enabled still to make a stand: they were at length, however, defeated by the Dutch troops, and compelled to retreat over the southern hills. A general amnesty being proclaimed, and the Chinese having availed themselves of it, the ex-emperor at length surrendered to the Dutch at Surabáya, by whom he was banished to Ceylon, where he died. This event happened in the Javan year 1667, and terminated the Chinese war.

After a few months the Susúnan, in conformity with ancient custom, removed the seat of government from Kérta Súra to the village of Solo, about six miles distant, where a palace was built. The new capital was called Súra Kérta, and is the present residence of the emperors of Java.

On the subsequent accession of Mr. Imhoff to the post of governor-general, he was of opinion that, notwithstanding the favourable terms of the treaties granted by the Susúnan, sufficient atonement had not been made to the Dutch nation for the outrage committed against the Christian religion, and the barbarous treatment of the garrison of Kérta Súra. He therefore required that the two principal ringleaders should be delivered up and punished; and to ensure compliance, measures were taken for seizing upon the Susúnan and his son, and bestowing the throne on the eldest son of Pangéran Mángku Nagára. But the Susúnan thought it prudent to comply, and delivered over two priests to the Dutch; and a new treaty was on this occasion concluded with the Susúnan.

Fresh disturbances soon succeeded. The Pangéran of Madúra, Chákra Deníngrat, a man of a selfish and haughty character, considered himself, in consequence of the part he had taken, so far exalted above the other chiefs, that he neglected to make his annual appearance at court. Of this the Susúnan complained to the Dutch, who interfered, but without effect. The Pangéran, who, as before stated, had taken possession of the provinces of Sidáya, Túban, Jípang, and Lamúng'an, now refused to restore them either to the Susúnan or the Dutch, to whom they had been ceded, claiming them, as well as all the plunder he had obtained at Kérta Súra, as conquered property. Determined to keep them by force, he engaged in his service a number of men from Báli, and fortified the island Menári, so as to command the harbour of Surabáya.

He now commenced open hostilities by attacking a Dutch vessel, and putting to death several European seamen. Two thousand Madúrese entered the district of Surabáya, burnt some villages, and laid the country waste; and five thousand Bálians were posted on the frontiers of Pamakásan. After having been twice or thrice defeated, the Pangéran made a sudden attack upon Súmenap and Pamakásan, and gained a complete victory over the natives fighting under a Dutch commander, who lost six thousand men on the occasion, the chief being obliged to fly the country.

It was not long before the Dutch regained possession of Súmenap and Pamakásan, on which occasion a brother-in-law of the Pangéran, with two chiefs, submitted to them; but the Dutch troops were no sooner withdrawn, than those provinces again fell under the authority of the Pangéran, who laid them waste with fire and sword. The Dutch tried in vain to dislodge him. Rémbang was now besieged by an army of fire thousand Madúrese and Javans. Lásém, Pájang-kungung, and all the villages as far as Paradésa, were in possession of the Pangéran, who made himself master also of the fort of Rémbang, and of the building yard established there; but his fortune suddenly changed. The prince was, in his turn, defeated in several engagements, and at length compelled to fly from Java; and the Dutch forces landing on Madúra, took the capital Sámpang, by storm, and in a short time made themselves masters of the whole island.