Citadel
Citadels were not always built to keep away a city's enemies. During the Anglo-Dutch Wars, King Charles II of England built a citadel at Plymouth that could not only keep out enemies, but also the city's people in case they tried to rebel against the King.