Warrant officers had a naval origin which is sort of interesting. "The military grade of Warrant Officer is one of the oldest in Western military systems dating back two centuries prior to Columbus, during the fledgling years of the British Navy. At that time, Nobles assumed command of the new Navy adopting the Army ranks of Lieutenant and Captain. These royal blood officers often times had no knowledge of life on board a ship, let alone how to navigate such a vessel or operate the guns. They would often rely on the technical expertise and cooperation of a senior sailor who tended to the technical aspects of running the ship and operating the cannons. These sailors, some times referred to as ‘Boat Mates’ or ‘Bosun's Mates’ became indispensable to less experienced officers and were subsequently rewarded with a Royal Warrant. This Royal Warrant was a special designation, designed to set them apart from other sailors, but not violate the strict class system that was so prevalent during the time."
I thought it was sort of amusing that experienced grunts saving the butts of clueless officers was built-in to the history of the rank hierarchy