Basic narrative started evolving around King Mauregatus' amicable relationships with the Moors, who was assassinated by revolting counts Arias and Oveco in 788, in revenge for granting the Moors such a repulsive tribute. His successor, Bermudo I, tried to negotiate for a tribute of money instead. Bermudo was succeeded by Alfonso II, nicknamed "the Chaste", who fully rejected the tribute and had to deal with military consequences. He won the Battle of Lutos and killed the Moorish Captain Mugait, thus achieving his goal: no more tribute. The next king, Ramiro I, with the help of Bernardo del Carpio defeated the Moors at the (fictitious) Battle of Clavijo. The Moorish rulers were reportedly scared, by the growing military strength of the northern Christians, into giving up demands for the tribute.