Although at first well received by Sunda authorities, after news of the Portuguese-Sunda alliance in 1522 became known, Gunungjati nevertheless asked the Demak sultanate to send troops to Banten, started the Demak-Sundanese war. It was likely his son, Hasanudin, who commanded this military operation in 1527, just as the Portuguese fleet was arriving of the coast at Sunda Kelapa, to capture these towns. Subsequently, the Portuguese fleet that intended to establish a coastal fortress was defeated by Cirebon and Demak forces.