War of the Spanish Succession, (1701–14), conflict that arose out of the disputed succession to the throne of Spain following the death of the childless Charles II, the last of the Spanish Habsburgs. The war was primarily a struggle to determine whether the vast possessions of the Spanish Empire should pass to the House of Bourbon or to the House of Habsburg, both of which had dynastic claims, or whether they should be partitioned to...