William was educated at four schools in the United Kingdom and studied for a degree at the University of St. Andrews. During a gap year, he spent time in Chile, Belize, and Africa. In December 2006, he completed 44 weeks of training as an officer cadet and was commissioned in the Blues and Royals regiment. In April 2008, William completed pilot training at Royal Air Force College Cranwell, then underwent helicopter flight training and became a full-time pilot with the RAF Search and Rescue Force in early 2009. His service with the British Armed Forces ended in September 2013. He then trained for a civil pilot's licence and spent over two years working as a pilot for the East Anglian Air Ambulance.