What is the meaning of Boatswain's_mate?

A petty officer assisting the boatswain aboard ship.

Source: wiktionary.org