 The establishment of Cirebon Sultanate marked the first Islamic rule in Western Java, that grew from modest fishing village of Muara Jati to a busy port of Java northern coast.Cirebon grew as one of the independent sultanates under the leadership of Sunan Gunungjati, in the early 16th century.After the Sunda Kingdom collapsed, The Sultanates of Banten and Mataram fought control over Cirebon, which declared its allegiance to Sultan Agung of Mataram.