In practice, these were usually unrated sloops-of-war of no more than 20 guns. The Royal Navy shortened "Master and Commander" to "Commander" in 1794; however, the term "Master and Commander" remained in common use for many years. A corresponding rank in some navies is frigate captain. In the 20th and 21st centuries, the rank has been assigned the NATO rank code of OF-4.