Khan's troops were repelled by forces commanded by Afonso de Albuquerque, culminating in the siege of the Benastarim fortress.
A previous army under the command of Fulad Khan was well ensconced in the nearby fortress of Banastarim and had repelled several Portuguese attacks, but had made little progress in taking the city.
Once he entered the harbour of Goa, he sent six ships to bombard the fort of Banastarim and cut off Rasul Khan's communications with the hinterland.
Hearing that Rasul Khan had marched out of the fort towards the city at the head of 3,000 men, Albuquerque divided his infantry into three divisions.
Albuquerque ordered trenches to be dug and a wall to be breached, but on the very morning of the planned final assault, Rasul Khan hung out the white flag.