 After the collapse of the Tarumanagara kingdom, due to an attack by Srivijaya, power in western Java fell to the Kingdom of Sunda.The Chinese source, "Chu-fan-chi", written circa 1225, Chou Ju-kua mentioned that in the early 13th century, Srivijaya still ruled Sumatra, the Malay peninsula, and western Java (Sunda).The source identifies the port of Sunda as strategic and thriving, pepper from Sunda being among the best in quality.