Rodrigo Díaz had conquered the Taifa of Valencia and established the Principality of Valencia on June 17, 1094.[1][2] El Cid had joined forces with Peter I of Aragon later that year in Burriana to cement an alliance with the end goal of doing battle with the Almoravids. Under this agreement, El Cid departed in December 1096 with the aid of Aragonese troops to bring weapons, ammunition, and general supplies to the castle of Sierra de Benicadell. The castle itself had been retaken by "El Cid" in October 1091 to control access to Valencia from the south via the interior route. That action had taken place in the course of the operations for the "reconquista" of Levante that the Cid had undertaken before the arrival of the North African Almoravids.
Whilst "El Cid" and the king were marching north, they camped at Bairén, a place situated a few kilometers north of Gandía. The Almoravids managed to take the nearby high ground at Mondúver (at 841 meters above sea level), from where they were able to harass the Christian camp. In addition, General Muhammad had managed to bring a fleet of ships, both Almoravid and Andalusian, onto the nearby seashore from which archers and crossbowmen were able to catch the Christian forces in a crossfire.
The situation appeared desperate, but "El Cid" harangued his troops one morning, ordering them to conduct a frontal charge and assault on the Almoravid forces, breaking their center. By mid-day, the attack was in full swing. The Almoravids, taken aback by the courage and desperate nature of the attack, broke and fled the field in disarray. The chaotic nature of the Muslim retreat led many Almoravid soldiers to drown in the river which crossed their path of retreat or in the sea as they tried to reach the safety of the Almoravid armada.
Aftermath
The Christian army was able to come away from the battle with a great deal of victory spoils after looting the Almoravid camp. After the battle, they were able to continue, in safety, to the city of Valencia.
References
^Alberto Montaner Frutos, «The exact date of the surrender of Valencia», in Montaner Frutos, Alberto y Alfonso BOIX JOVANÍ, Guerra en Šarq Alʼandalus: Las batallas cidianas de Morella (1084) y Cuarte (1094), Zaragoza, Instituto de Estudios Islámicos y del Oriente Próximo, 2005, pgs. 285-287. ISBN978-84-95736-04-8