The ricohombre (a magnate,[1] literally, a Spanish word for "richman") or ricahombría, was a high ranking nobility title in mediaeval kingdoms on the territories of modern Spain and Portugal,[2] replaced by a title of grandee in the late 14th-early 15th century.[3] The ricoshombres, established during the Reconquista[4] (the first document with the term, the charter of Santarém, Portugal, is dated 1179[5]), were supposed to be advisers to the rulers.[6] The transition from ricoshombres to grandees occurred between 1390 and 1530 as the new "noble oligarchy" replaced the old one due to the change of power base caused by the conflict between infantes of Aragon and the supporters of John II of Castile with his favorite Álvaro de Luna.[3] Alfonso de Cartagena in his Doctrinal de los caballeros (c. 1441–1444), while discussing the grandees, states that the previous term ricohombre is "old-fashioned".[6]