Prince William was delighted today after getting an upper second class honours (2:1) in his geography degree.
The 22-year-old royal, who studied for four years at St Andrews University in Scotland, logged on to the internet at Clarence House to find out his final grade for his Master of Arts (MA).
He did better than his father, the Prince of Wales, who received a lower second class honours from Trinity College, Cambridge, in history.
Prince William is due to graduate with about 1,400 other St Andrews students in the town at the end of June.
The prince, who celebrates his 23rd birthday later this month, had a somewhat rocky start to his life in the isolated Scottish town in Fife. He struggled to adjust in his first term, but eventually settled down after switching his course from history of art to geography.
In the end, St Andrews became a haven, where the locals grew used to having a royal pin-up around town.
With his university experience at an end and military training beckoning, the prince is preparing to fly to New Zealand to join the British Lions squad on their rugby tour.
During his stay on the islands, he will also carry out his first solo engagements on behalf of the Queen to celebrate the end of the second world war - marking a new era of royal duties for him. The prince, who plans to sign up for the army and attend Sandhurst like his younger brother Prince Harry, has spoken about being "wary" of developing his public role too soon.
Prince Charles was the first heir to the throne to take a degree. The Earl of Wessex, who studied at Jesus College, Cambridge, was also awarded a 2:2.