 He was educated like his namesake William Stewart (1479–1545), the future bishop of Aberdeen, at the University of St Andrews.Destined for the church, he later became a courtier.In 1527 he held a pension from James V of Scotland.