Prince William Ends Seven-Year Military Career