Sultanate of Banjar or Sultanate of Banjarmasin (Banjar: كسلطانن بنجر, Kasultanan Banjar) was a sultanate located in what is today the South Kalimantan Province of Indonesia. For most of its history, its capital was at Banjarmasin. The second king of Negara Daha, Maharaja Sukarama had four commoner wives, and four sons and one daughter. As Maharaja Sukarama followed the traditional belief of Negara Dipa requiring the king had to be of royal blood, arranged marriage of his sole daughter, Putri Galuh Baranakan and the son of his brother, Raden Bagawan, with the name Raden Mantri. The result this union (of Mantri and Galuh) will produce the ideal heir to rule Daha as they would have patrilineal and matrilineal royal blood. This union result in Raden Samudra who was prepared by Sukarama to rule. However after Sukarama's death this succession was challenged by his sons, Pangeran Mangkubumi dan Pangeran Tumanggung who usurped the throne. Raden Samudra, escaped from the Kingdom of Daha to the Barito River area, because his safety was in danger, and established a new kingdom at Banjarmasin. With help from Mangkubumi Aria Taranggana, Raden Samudra converted to Islam on 24 September 1526, changing his name to Sultan Suriansyah. Banjar at first paid tribute to the Sultanate of Demak. That state met its demise in the mid-16th century, however, and Banjar was not required to send tribute to new power in Java, the Sultanate of Pajang. Banjar rose in the first decades of the 17th century as a producer and trader of pepper. Soon, virtually all of the southwest, southeast, and eastern areas of Kalimantan island were paying tribute to the sultanate. Sultan Agung of Mataram (1613-1646), who ruled north Java coastal ports such as Jepara, Gresik, Tuban, Madura and Surabaya, planned to colonise the Banjar-dominated areas of Kalimantan in 1622, but the plan was cancelled due to inadequate resources. In the 18th century Prince Tamjidullah I successfully transferred power to his dynasty and set Prince Nata Dilaga as its first Sultan with Panembahan Kaharudin Khalilullah.