 The fortress of the counts de Vendôme from the 12th to the 15th century was composed of three or four enclosures surrounding a quadrangular keep, the whole built on three rock platforms excavated in the Middle Ages to increase height.At the foot of the castle, between the promontory and the Loir, a further enclosure protected the priory of Saint Martin (Saint-Gildéric), founded about 1040 by the first lord of Lavardin in an external bailey.During the early Middle Ages, the castle promontory was occupied by a cemetery, of which several ditches cut in the rock have been found.