Once part of the Caliphate of Cordoba, the influence of the Arab occupation on the architecture and culture of Almeria is still very evident today. Almeria is sited at the foot of a mountain range in Andalusia on the Mediterranean coast of southeast Spain. It was a vibrant city trading in fine textiles and silk during the Middle Ages until a series of earthquakes in 1522 led to its decline. Regeneration began in the Nineteenth Century and the economy has been built around the cultivation of fruit and vegetables in huge plastic greenhouses; around three-quarters of what is produced is exported to other European countries. Almeria has a hot-desert climate with hot summers and warm winters. The summer temperature rarely falls below 64 degrees Fahrenheit and average winter temperature is around 46 degrees Fahrenheit. The Desert of Tabernas, close to the city, is the sight where many of the spaghetti westerns of the 1970s were filmed. Enterprise Rent-A-Car is based near Almeria Train Station.