She married the Archduke Albert II of Habsburg and thus integrated her county into Austria, which had it managed by administrators appointed by the Emperors.
Given as a bailiwick to the lords Reich von Reichenstein in 1504, then to the Fuggers of Augsburg from 1540 to 1567, the castle was transformed into a garrison.
Set on fire by the French in 1635, the castle was destroyed after the Thirty Years' War and only the lower part was restored.
In 1644, at the Treaty of Munster in Westphalia, the Emperor of Austria yielded the county of Ferrette to the King of France, Louis XIV, who gave it to his minister, Cardinal Mazarin, who offered it to his niece.
Its ruins are maintained with the financial aid of the town of Ferrette, of the département of Haut-Rhin and the Services des Bâtiments de France.