A cool thing about pirates, that I only learned just recently, (the other ones being obvious: a bad-ass flag etc etc) is that they were extremely democratic, both in political and economic matters.
The 17th century pirates, during the golden days of ship-robbing in the Caribbean, elected their captains and quarter masters (the person responsible for the staff) and divided their loot equally among the staff, with some extra stuff for the captain (a cooperative counselling company in my city does the same thing, equal pay for everyone but an “anxiety bonus” for the coordinator, who gets to deal with some of the more anxiety creating stuff, like managing the workforce. Fair enough. The captain had to lead the battles, which probably also kept him awake at night once in a while).
This is maybe not what you would expect from violent outlaws, especially at a time when the rest of society, and in particular the other ships, had strict and brutally enforced hierarchies with no room for voting or fair distribution of wealth.
The pirates had in one way or another fled that oppressive society, knowing that if they got caught they would face a certain death. They were good fighters with nothing to lose, which ultimately made them impossible to govern. A despotic or unpopular captain wouldn’t last long with them, and an unfair distribution of the loot would create a mutiny. There was only one way to run a ship with these kind of people — with a just and democratic system that everyone could agree on.