Denmark's architecture became firmly established in the Middle Ages when first Romanesque, then Gothic churches and cathedrals sprang up throughout the country. From the 16th century, Dutch and Flemish designers were brought to Denmark, initially to improve the country's fortifications, but increasingly to build magnificent royal castles and palaces in the Renaissance style.