Whoever attempts to corrupt any commander, master, officer, or mariner to yield up or to run away with any vessel, or any goods, wares, or merchandise, or to turn pirate or to go over to or confederate with pirates, or in any wise to trade with any pirate, knowing him to be such; or

Whoever furnishes such pirate with any ammunition, stores, or provisions of any kind; or

Whoever fits out any vessel knowingly and, with a design to trade with, supply, or correspond with any pirate or robber upon the seas; or

Whoever consults, combines, confederates, or corresponds with any pirate or robber upon the seas, knowing him to be guilty of any piracy or robbery; or

Whoever, being a seaman, confines the master of any vessel—

Shall be fined under this title or imprisoned not more than three years, or both.