In the 17th century, the first casemates were built; initially, Spain built  of tunnels, starting in 1644. These were then enlarged under French rule by Marshal Vauban, and augmented again under Austrian rule in the 1730s and 1740s.