A petty officer is a non-commissioned officer in many navies. They are superior to a seaman, and subordinate to more senior non-commissioned officers, such as chief petty officers.
A Royal Navy boatswain's mate in 1820
A petty officer of the Royal Navy on parade in London in 2015. Gold chevrons on the left arm represent good conduct, each one representing 4 years of service. After 15 years of service, with no breaks in good conduct, the individual is presented with their Long Service & Good Conduct Medal (nicknamed in the RN as Long Service & Undetected Crime Medal) it is the medal on the far right of this Petty Officer's row of medals.
Five United States Navy Reserve petty officers in Service Dress Uniform. From left to right: HM1, AT1, HM1, HM1, AT1.
A midshipman is an officer of the lowest rank in the Royal Navy, United States Navy, and many Commonwealth navies. Commonwealth countries which use the rank include Canada, Australia, Bangladesh, Nami
Petty officer
…the title derives from the Anglo-Norman and Middle French "petit", meaning "of small size, small, little". Two of the Royal Navy petty officer's rates, midshipman and master's mate, were a superior petty officer with a more general authority, but they remained no more than ratings. However, it was quite possible…
1799 illustration of a Royal Navy midshipman
1780 portrait of Henry William Bayntun as a midshipman
c. 1800 portrait of a Royal Navy midshipman
Midshipmen George Drewry, Wilfred Malleson, and Greg Russell in April 1915.