Though Major-General Sir Sebastian Roberts, General Officer Commanding the Household Division, had said William's deployment was possible, the Prince's position as second-in-line to the throne and the convention of ministers advising against placing that person into dangerous situations cast doubts on William's chances of seeing combat. These doubts increased after Prince Harry's deployment was canceled in 2007 due to "specific threats". William, instead, went on to train in the Royal Navy and Royal Air Force, obtaining his commission as a sub-lieutenant in the former and flying officer in the latter—both broadly equivalent to the army rank of lieutenant. After completing his training, William undertook an attachment with the Royal Air Force, undergoing an intensive, four-month training course at RAF Cranwell. Upon completing the course on 11 April 2008, he was presented with his RAF wings by his father, who had received his own wings after training at Cranwell. During this secondment, William flew to Afghanistan in a C-17 Globemaster that repatriated the body of Trooper Robert Pearson.