 Partly at Elphinstone's instance, in 1496 he also passed what has been described as Scotland's first education act, which dictated that all barons and freeholders of substance had to send their eldest sons and heirs to school for a certain time.James was well educated as well as a polyglot.In July 1498, Spanish envoy, Pedro de Ayala, reported to Ferdinand and Isabella