The Basilica of Saint-Denis is the earliest known example of Gothic architecture and provided a model for ecclesiastical structures throughout the Middle Ages. By the early 12th century, France's most significant royal abbey, Saint-Denis, was in disrepair.