Ehrenfels Castle was (re-)built about 1212 at the behest of the Archbishop of Mainz as a defensive work against the constant attacks by Elector Palatine Henry V, who, as Imperial vicar of Franconia, strived to cut down the archbishop's reach. Mainz staffed the castle with Burgmannen and erected a customs post controlling the shipping on the Rhine, supplemented by the Mouse Tower below at the river. Heavily damaged in the course of the Thirty Years' War, the castle was finally devastated by French troops under the command of Lieutenant General Nicolas Chalon du Bléduring the 1689 Siege of Mainz.
The ruin can be reached from Rüdesheim via a hiking trail through the vineyards. The interior however can only be visited in guided tours by prior appointment.
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.