the Battle of Lorca (1042) was a battle that took place near the city of Lorca between the forces of the Taifa of Granada led by Samuel ibn Naghrillah and the combined forces of the Taifa of Valencia, the Taifa of Dénia and the Catalan mercenaries, it resulted in a decisive victory for the Zirid Taifa of Granada.
In 1042, the Vizier of AlmerÃÂa Abu'l-Ahwas al-Mu'tasim Ma'n ibn SumÃÂ dih led a revolt against the king of the Taifa of Valencia Abd al-Aziz al-Mansur, enlisting the aid of the Taifa of Granada king Badis ibn Habus, Badis accepted and sent forces led by his Vizier Samuel ibn Naghrillah.
Samuel crossed the mountains to Guadix and Baeza, when the combined forces reached Lorca, a quarrel broke out and the forces of the Taifa of Dénia and the Catalan mercenaries left, leaving the tired Taifa of Valencia forces alone, Samuel ibn Naghrillah had an easy victory against them.
the Vizier of AlmerÃÂa Abu-l-ÃÂhwas M'an ibn SumÃÂ dih secured his independence in the city from the Taifa of Valencia. taking AlmerÃÂa under the Taifa of Granada influence.