Lanjarón is a city with history, its vestiges in its castle are markedly Arab. It appears clearly in history under the dynasty of the Alhamares, around 1231.
Historians such as Ginés Pérez de Hita and Diego Hurtado de Mendoza believe that it was during the 10th century when two Mohammedan tribes led by two Moors Joraidan and Gil "El Barbari" arrived in Lanjarón, which caused a demographic growth and an improvement in the existing structures: promotion of agriculture and livestock, a new irrigation system, flour mills, bakery ovens, lime and plaster mills, esparto and silk industries were created, thus initiating an economic take-off in the area. Granada surrendered to the power of the Catholic Monarchs in 1492, however, Lanjarón persisted unyieldingly until March 7, 1493, when it was forced to submit.
«They say that when the castle's defense weakened, the brave black Muslim captain defending the square threw himself from a tower into the void rather than surrender.»
In 1568 the rebellion of the Moors began, and D. Hernando de Córdoba y Valor was proclaimed king, because he was of the race and lineage of the Umayyads, who took the name of Abén Humeya.
In 1570, after the expulsion of the Moors, the repopulation of these lands with people from other places was proposed.

During the War of Independence, the inhabitants of Lanjarón stood out for their heroic defence of the town against the French, and from then on they were called "gunners" because they defended themselves with an old mortar.
After the Civil War, Lanjarón suffered the loss of emigration, although currently, Lanjarón is experiencing a slight growth due to foreigners settling in farmhouses and typical neighbourhoods.

