The first written reference of the lion as a symbol of the King and, therefore, of the kingdom, is in the "Chronica Adefonsi Imperatoris". This was written during the reign of Alfonso VII. The lion is one of the oldest symbols used in heraldry in Europe that still exist. It is earlier than the castle, which was used by the neigbouring Kingdom of Castile.