Johann IV., died without any male offspring. His sister Anna von Werdenberg married Count Friedrich von Fürstenberg in 1516. In 1521 Christoph (1494–1534), together with his brothers Johann VI. and Felix I. von Werdenberg, was granted the fief of Sigmaringen from Emperor Charles V. Count Christoph married, after his first marriage to Eleonore Gonzaga remained childless, Johanna von Bröseln, widow of the Count Eitel Friedrich III. von Hohenzollern in 1526. All of his children died, except for his daughter Anna, who married Friedrichs II. von Fürstenberg. According to the Zimmern Chronicle in 1530, as Count Felix I was in the bath house with Leonora Werdenberg (the illegitimate daughter of Hugo IX and the mistress of Felix and Christoph von Werdenberg) the bath house fire was allowed to spread, leading to a fire that expanded throughout the outbuildings around the castle. In 1534, following the death of the last male member of the Werdenberger family, Count Friedrich von Fürstenberg demanded the Werdenberger lands. However, King Ferdinand I granted the fief of Sigmaringen and Veringen, in 1535, to Charles I of Hohenzollern (1516–1576), the son from Johanna von Bröseln's first marriage with Friedrich III. von Hohenzollern. The Hohenzollern and Hohenzollern-Sigmaringen families, 1535–1850 Charles I was the first Hohenzollern to rule in Sigmaringen. In 1539 there was another fire that damaged the castle. A year later, in 1540, Sigmaringen and Veringen were transferred to the House of Hohenzollern as part of the Pfullendorf agreement (German: Pfullendorfer Vertrag). Count Charles I. von Hohenzollern occupied the castle. Charles II. von Hohenzollern-Sigmaringen (1547–1606), son of Charles I was the count of Sigmaringen from 1576 until 1606. He was also the founder of the Hohenzollern-Sigmaringen line of the Hohenzollern family. Under Charles II the castle was renovated. Between 1576 and 1606 the gatehouse was expanded to cover the entrance to the castle and a new church was built near the castle. In 1576 the House of Hohenzollern split into four lines, Hohenzollern (died out in 1602), Hohenzollern-Haigerloch (absorbed by Hohenzollern-Sigmaringen after 1630), Hohenzollern-Hechingen (died out in 1869) and Hohenzollern-Sigmaringen. Sigmaringen was the main residence of the family of Hohenzollern-Sigmaringen from 1576 until 1850. Johann von Hohenzollern-Sigmaringen (1578–1638), the son of Charles II was the count of Hohenzollern-Sigmaringen from 1606 until 1623. Then in 1623 the family was promoted from Count (German: Graf) to the rank of Princes of the Holy Roman Empire (German: Reichsfürst). Johann then became