After some twenty years the new dynasty was so firmly established that Hasanuddin had no hesitation in leaving the kingdom in 1546 to take part in a military expedition against Pasuruan in eastern Java, at the request of Sultan Trenggana, third sultan of Demak.