In the late 18th century, there was a Gothic revival in which the Middle Ages were seen in a more positive light rather than disfavor. This was in part a reaction against the Enlightenment movement which emphasized reason and science over religion. Additionally, industrialization and the scientific revolution created insecurity which some countered with nostalgia for the mysticism and superstition of the medieval past. The Gothic revival style then spread from landscape gardens to architecture and eventually public buildings.