Task: Question Generation
Input (English): Pelayos' plan was to use the Cantabrian mountains as a place of refuge and protection from the invading Moors. He then aimed to regroup the Iberian Peninsula's Christian armies and use the Cantabrian mountains as a springboard from which to regain their lands from the Moors. In the process, after defeating the Moors in the Battle of Covadonga in 722 AD, Pelayos was proclaimed king, thus founding the Christian Kingdom of Asturias and starting the war of Christian reconquest known in Portuguese as the Reconquista Cristã.
Output (English): In which battle did Pelayos defeat the Moors?