king sancho ramírez ordered the building of a chapel in his honor