Mauregato, "the Usurper", was king of Asturias from 783 to 788. He was an illegitimate son of Alfonso I, supposedly by a Moorish woman.
Sometime during his reign a hymn to Saint James was composed with an acrostic mentioning the king's name. This is considered to presage the legend of the saint's burial at Santiago de Compostela.