The city of Martos is located in the province of Jaén in the autonomous community of Andalusia in south-central Spain.
It has a population of 24063 inhabitants, making Martos the fifth largest municipality in the province. The city is located on a western peak of the Sierra Jabalcuz mountain range. It belongs to the metropolitan Area of Jaén, of which it is considered to be the second most important city after the capital.
Its economy is based on agriculture, in particular the cultivation of the olive tree. Martos is considered to be the first producer of olive oil of the world. Also important are various industries, especially those related to the treatment of plastic.
The city has been linked to the Roman settlement of Colonia Augusta Gemella, and starting in the 8th century was ruled by the Moors under various Islamic states for over 500 years.
In 1225, King Ferdinand III of Castile and Leon captured the city from the Moors and incorporated it into his kingdom.
During the Middle Ages, Martos became a strategic place, and its defences were reinforced with the construction of numerous fortifications in the city.