 In 1665, Charles II became the last Habsburg King of Spain.He suffered from ill-health most of his life and by 1697, he seemed likely to die childless.Although Spain's financial and military power had declined during the 17th century, the Spanish Empire remained powerful and largely intact, with territories in Italy, the Spanish Netherlands, the Philippines, and large areas of the Americas.