The citizens of Freiburg took the fortress twice. In 1299 during the struggle with their overlord Count Egino II and his brother-in-law Konrad von Lichtenberg, the Bishop of Strasbourg, the citizens used a catapult to breach castle walls. And in 1366 in a siege during the conflict with Egino II the citizens in fact used cannons to raze the most glorious fortress in German territories to the ground. That put paid to any chances of an amicable relationship between the counts of Freiburg and the citizenry. In the end the people of the city bought their freedom for the price of 15,000 marks in silver, and placed themselves under the protection of the House of Habsburg in 1368. The new lord of the town, Archduke Leopold, generously gifted the ruins on the Schlossberg to the citizens.