The Enlightenment in Spain arrived later and was less strong than in other European countries, but during the 19th century liberal ideas arrived in Spanish society. At the end of the century, socialist and libertarian ideas also flourished, with thinkers such as Francisco Pi y Margall, Ricardo Mella and Francisco Ferrer Guardia.