In the Italian War of 1551–59, the republic was defeated by the rival Duchy of Florence in alliance with the Spanish crown. After 18 months of resistance, Siena surrendered to Spain on 17 April 1555, marking the end of the republic.