Built in 1314, it's the only synagogue to exist in Andalusia and is one of the best preserved buildings from the Spanish medieval period. It was in use from its construction until the Jews were expelled from Spain in 1492. After 1492, it was used as a hospital, hermitage and even a nursery. It was declared a National Monument in the 19th century.