The other Castilian fleet arrived at Elmina and obtained sizeable quantities of gold. The fleet remained stationed there for a few months, under the orders of the commercial representative of the Crown. The Portuguese fleet arrived, and the Castilians were attacked. They were defeated and taken as prisoners to Lisbon. According to Hernando del Pulgar, the gold King Afonso captured allowed him to relaunch the war on land against Castile. Portuguese sources affirm that both the prisoners and a significant portion of the captured gold were returned to Castile after the signing of peace in 1479.