The famous mosque in Spain that is the country’s largest mosque and was later turned into a cathedral is the Great Mosque of Cordoba.