King Ferdinand and Isabella, however, won the war of succession and, as part of the Treaty of Alcáçovas, signed in 1479, it was agreed that their eldest daughter Isabella would marry Alfonso.
The wedding, by proxy, took place ten years later in the spring of 1490 in Seville.