House of Habsburg
The senior branch of the House of Habsburg became extinct in the 18th century, when Charles II of Spain died in 1700 and was replaced by the House of Bourbon. Charles had mental and physical handicaps, which were probably caused by inbreeding between relatives in the royal houses of Continental Europe. Marriages of close relatives had occurred for the five generations before him. He was the son of Philip IV, who married his sister's daughter.