Sunan Gunungjati and his son settled in Banten Girang, and took control of both the port of Banten and Kelapa, while Surawisesa, the king of Sunda at that time was powerless to prevent this take over and signed a peace treaty with Demak and Cirebon in 1531 M. Sunan Gunungjati crowned Hasanudin as the tumenggung of Banten with authority bestowed by the Sultan of Demak, Trenggana who, in turn, offered Hasanudin his sister's hand in marriage. Thus, a new dynasty was born at the same time as a new kingdom was created. Old Banten (currently part of Serang) was the capital of this kingdom, held as a province under Sultanate of Cirebon.