The Parsberg Castle was first documented in 1205. The first castle was destructed in 1314 by Duke Ludwig of Bavaria due supporting the rebellion. The castle was rebuilt and extended in the end of the 16th century. The next reconstruction took place in the mid-17th century, probably due the damages in Thirty Years' War. The lower castle was added then, where today is a castle museum.
References:The Citadelle of Quebec is an active military installation and official residence of both the Canadian monarch and the Governor General of Canada. It is located atop Cap Diamant, adjoining the Plains of Abraham in Quebec City. The citadel is the oldest military building in Canada, and forms part of the fortifications of Quebec City, which is one of only two cities in North America still surrounded by fortifications, the other being Campeche, Mexico.
The first fortifications in Quebec were built by the Governor General of New France Louis de Buade, and completed just in time for the Battle of Quebec in 1690.
After the British conquest in the second half of the 18th century, the problem of Quebec City's defences grew more acute.