The Umayyad commander Al qama entered the mountainous lands of Asturias in early summer of the year 722
Pelayo, who had several hundred men at its command, was aware of the muslim numbers so avoided battle
knowing that he needed a suitable place to set up his defence, he retreated to a narrow valley, close to the village of Covadonga
When Al-qama arrived he sent an envoy to Pelagius requesting his surrender, Pelagius refused
Al-qama marched his best men into the constricted valley, Asturian fighters soon attacked with arrows, the rest of Pelayo´s men, hiding in nearby caves, started to attack to the invaders
Al-qama hurriedly ordered a retreat, the inability of his forces to manoeuvre in the narrow valley allowed Pelayo the slaughter of the mayority of the invaders, as a result of this victory, Pelayo´s popularity in Asturias grew quickly.