Alfonso IX of León
Mécia Lopes was born in Biscay, the daughter of Lope Díaz II de Haro, lord of Biscay, and of Urraca Alfonso of León. Her mother was an illegitimate daughter of Alfonso IX of León. She was thus niece of the reigning king, Ferdinand III of Castile.