ألفونسو الحادي عشر
The city was chartered by Alfonso XI of Castile in 1346, receiving the name of "Villanueva de San Andrés de Heybar".