Overview
The master, or sailing master, is a historical rank for a naval officer trained in and responsible for the navigation of a sailing vessel.
In the Royal Navy, the master was originally a warrant officer who ranked with, but after, the lieutenants. The rank became a commissioned officer rank and was renamed navigating lieutenant in 1867; the rank gradually fell out of use from around 1890 since all lieutenants were required to pass the same examinations.
When the United States Navy was formed in 1794, master was listed as one of the warrant officer ranks and ranked between midshipmen and lieutenants. The rank was also a commissioned officer rank from 1837 until it was replaced with the current rank of lieutenant, junior grade in 1883.
Russia
Until 1733 the sailing masters in the Imperial Russian Navy were rated as petty officers, but in that year the rank of Master was introduced after the British model. Masters ranked above sub-lieutenants, but under lieutenants. Meritorious masters could be given lieutenant's rank, but only if they were noblemen. In 1741 the rank of master was abolished, and the officers holding that rank were promoted to lieutenants, while second masters and master's mates became ensigns. Henceforth masters could be promoted to sea officers, even if they were commoners.
From Wikipedia (CC BY-SA 4.0).