struggle for the throne of Portugal