He was succeeded, in the year 1524, by his son, since called Séda Krápiak, from the place of his interment, but who during his reign, bore the title of Panambáhan Senapáti. The succession was, however, opposed by his elder brother, Pangéran Púger, who did not attend to kiss the sovereign's feet, as customary, on the day following his installation. This chief proceeding to hostilities, was soon taken prisoner near Ungárang. He was banished to Kúdus, and his minister was put to death, which offended one of his younger brothers, Jajarága, so much, that he instantly quitted Matárem and proceeded to Pranarága, of which province he had formerly been appointed chief, with an intention of stirring up a rebellion in the distant provinces; but the sultan obtaining information of it, secured his person and banished him also. He was shortly afterwards pardoned and permitted to return.

It was during this reign that the Dutch and English first visited Java.

This prince reduced the provinces of Madion and Pranarága, and built a palace, the walls of which are still standing at Krapiak, a place at the foot of a range of hills lying along the South Sea, a short distance from Matárem. He died after a reign of twelve years, esteemed on account of the general tranquillity which prevailed after the firm establishment of his government.

He was succeeded by his eldest son, named Panambáhan Merta Púra, in the year 1540; but this prince not being able to conduct the government, on account of his infirm state of health, or more probably removed by the intrigues of his family, who declared him to be insane, made way for his younger brother, who was raised to the throne in the following year.

This prince, distinguished by the title of Agung, or the great, commenced a flourishing reign by a signal victory over the Surabáyan and Madurese forces, by which he brought the eastern provinces of Málang, Untung, Jápan, Wirasába, Pasúruan and Surabáya, under subjection; and following up his success, subdued all the eastern provinces, as far as Balambángan. Dissensions arising at this period between the people of Bantam and those of the Súnda districts, the chief of Súmedang applied to Matárem for assistance; and being invested by the sultan with the chief authority over those districts, soon brought the whole of the western chiefs, alarmed at the approach of Matárem arms, to acknowledge his supremacy. A force was now sent to Madúra, and that island being conquered was united to his dominion, which then extended through all Java and Madúra. An enemy, more powerful than any with whom he had been accustomed to contend, and destined to strip his posterity of all but the semblance of sovereignty, now appeared. The Dutch, availing themselves of the divisions and convulsions by which the empire had been previously distracted, had established themselves at Jákatra.

On their first arrival at Bantam, the prince of that country was absent on an expedition against Palémbang, which country, as well as a great part of the north and west coast of Sumatra, was then subject to his sway. They found the influence of the Portuguese, who had previously established a factory there, on the decline, and with little difficulty entered into a treaty with the chief, on whom the administration of the country was provisionally conferred during the absence of the prince. By this treaty, the contracting parties agreed to trade honestly and fairly with each other, and to afford mutual assistance in case of being attacked by an enemy.

Complaints, however, were soon made of the high tone which the Dutch assumed, and of the insolence of their menaces. Hostilities ensued, and according to the Dutch account, upwards of a hundred of the natives were killed or wounded. The consequence was, that they were obliged to quit Bantam. Touching at Jákatra, Japára, Túban, and Sidáyu, they had an affair with the Madurese, but ill calculated to make an impression in their favour. The prince of that country, anxious to pay his respects to the Europeans, requested, through his interpreter, to be permitted to visit the principal person among them, and an arrangement was accordingly made that he should be received on board a particular ship. As the prince left the shore with his suite, accompanied by their women and children, the Hollanders became alarmed at the appearance of so numerous an assemblage, and observing that they did not appear to be proceeding direct to the ship pointed out for their reception, discharged three guns. The terror occasioned by the report threw the procession into the utmost confusion, all the people in the boats falling as if killed. The crews of the other European vessels taking these guns as a signal for action, threw themselves with such impetuosity upon the native boats, that out of this numerous assemblage only twenty-one are said to have escaped. Among the slain was the prince, and his interpreter or high priest, and their bodies, as soon as discovered, were thrown with indignity into the sea.

It is remarkable, that the leading traits which distinguish the subsequent administration of the Dutch on Java (a haughty assumption of superiority, for the purpose of overawing the credulous simplicity of the natives, and a most extraordinary timidity, which led them to suspect treachery and danger, in quarters where they were least to be apprehended) were manifested in their earliest transactions in this quarter. On their first arrival at Bantam, we find the clerks of their trading vessels styling themselves captains; and such was the state and consequence assumed by Houtman, the chief of the expedition, who took the title of Captain Major, that a Portuguese, who had known him before, asked him significantly if he had been created a duke since he last saw him. The murder of the unfortunate prince of Madúra and his followers (for it can be called by no other term) was as detestable and unjustifiable as the subsequent massacre of the unfortunate and unoffending Chinese in the streets of Batavia. In neither case was there a plea to palliate the crying guilt, but such a degree of danger, as the basest cowardice could alone be sensible of.

This aggression did not pass unpunished, for the Dutch Admiral having allowed some of his men to land near Arosbáya, then the capital of the island, they were seized by the Madurese, and their enlargement was not effected without the loss of many lives and the payment of a liberal ransom.

Bantam was already a place of considerable trade: Chinese, Arabs, Persians, Moors, Turks, Malabars, Peguans, and in a word, merchants from all nations were established there. The principal produce for the European market was pepper. With this province the Dutch renewed their commerce in the year 1598 A.D., and four years afterwards they obtained permission to establish a factory there. In the following year, accordingly, they erected a permanent building, and formed a commercial establishment. At this time they had granted passes to the vessels belonging to the chief of Túban; and, in 1609, they left an agent at Grésik. A second treaty was now entered into with the king of Bantam, in which the States General stipulated to assist him against foreign invaders, particularly Spaniards and Portuguese; and the king on his side agreed to make over to the Dutch a good and strong fort, a free trade, and security for their persons and property, without paying any duties or taxes, and to allow no other European nation to trade or reside in his territories. The Dutch observing the serious differences which occurred among the chiefs of Bantam during the minority of the sovereign, made overtures, in the same year, to the prince of Jákatra, and removed to that province soon after.