The expression as a navy rank seems to originate from the sixteenth century when persons had the privilege of enlisting or making non-public contracts to serve as private troopers in navy models. Just before then, a lot of troopers have been forced (conscripted) into company by royalty or feudal lords. https://brucetharp.com