It put an end to the War of the Castilian Succession, which ended with a victory of the Castilians on land and a Portuguese victory on the sea.