In one sentence, summarize what brought the Spanish Habsburg's reign to an end.

The researchers, led by geneticist Román Vilas from Spain’s University of Santiago de Compostela, focused on 15 members of the so-called Spanish Habsburgs. While the Habsburg family rose to power in central Europe as the rulers of Austria, Germany and eventually the Holy Roman Empire, the family’s influence spread westward to Spain after Philip I, son of the second Habsburg Holy Roman Emperor, married Joan of Castile in 1496. The Spanish Habsburgs’ reign lasted two centuries, until the 38-year-old Charles II, a king whose manifold health woes and infertility scholars often attribute to severe inbreeding, died in 1700 with no immediate heir.
system
ek vaakya main, saranshit karen ki spanish habsburg ke shashan ko samaapt karne ke liye kya laayaa.

spain ke santiyago de compostela ke anuvanshikivid roman vilaas ke netritv main shodhakartaaon ne tathakthith spanish habsburg ke 15 sadasyon par dhyaan kendrit kiya.jabaki habsburg parivaar madhya europe main austria, germany or antat pavitra roman samrajya ke shaskaon ke rup main satta main aayaa, parivaar kaa prabhaav philip I ke baad spain main pashchim kii ore fail gaya, duusare habsburg pavitra roman samraat ke bete, 1496 main castyle ke jone se shaadi kii.. spanish habsburgs kaa shashan do shatabdiyon tak chalaa, jab tak ki 38 varshiya charles dwitiya, ek raja, jiskaa kai guna swasthya sankat or banjhapan vidwaan aksar gambhir inbreading kaa shrey dete hai, 1700 main bina kisi tatkaal vaaris ke mrityu ho gai.
user
spanish habsburg ke antim raja, charles dwitiya, unki kai swasthya samasyaon or banjhapan ke kaaran gambhir rup se inbreading ke kaaran mrityu ho gai.
assistant
<|system|>
</s>
<|user|>
ek vaakya main, saranshit karen ki spanish habsburg ke shashan ko samaapt karne ke liye kya laayaa.

spain ke santiyago de compostela ke anuvanshikivid roman vilaas ke netritv main shodhakartaaon ne tathakthith spanish habsburg ke 15 sadasyon par dhyaan kendrit kiya.jabaki habsburg parivaar madhya europe main austria, germany or antat pavitra roman samrajya ke shaskaon ke rup main satta main aayaa, parivaar kaa prabhaav philip I ke baad spain main pashchim kii ore fail gaya, duusare habsburg pavitra roman samraat ke bete, 1496 main castyle ke jone se shaadi kii.. spanish habsburgs kaa shashan do shatabdiyon tak chalaa, jab tak ki 38 varshiya charles dwitiya, ek raja, jiskaa kai guna swasthya sankat or banjhapan vidwaan aksar gambhir inbreading kaa shrey dete hai, 1700 main bina kisi tatkaal vaaris ke mrityu ho gai.</s>
<|assistant|>
spanish habsburg ke antim raja, charles dwitiya, unki kai swasthya samasyaon or banjhapan ke kaaran gambhir rup se inbreading ke kaaran mrityu ho gai.</s>
