Approximately 50 percent of midshipmen were the sons of professional men, which included the sons of naval officers, and there were notable sailing families throughout the Age of Sail, such as the Saumarez, Hood, and Parker families. The niceties of preferment and promotion made family connections an obvious advantage for prospective officers. Members of the peerage and landed gentry formed the next largest group, about 27 percent of officers. The numbers were smaller, but similarly, their connections gave them excellent prospects for promotion, and they had a considerable influence on the Royal Navy. A notable member of this group was Prince William, later William IV, who served as a midshipman from 1780 to 1785. The rest were from commercial or working class backgrounds, and because of the advantages possessed by the nobility and professional sailors, their chances of promotion to lieutenant were slim.