Designed between 1685 and 1689 as a veritable walled city with a total area of 38 hectares, the Citadelle de Blaye was built around a parade ground, a monastery dedicated to the Minims order, and several army barracks. Inside the fortress, there are several remarkable buildings and ruins, including the 12th-century Rudel castle, the Liverneuf gate (18th century), and the Éguillette tower (15th century).
Source here.
People still live and businesses (cafes and shops mostly) still operate inside the walls