Pirates in Somalia developed as a militia effort to deter foreign overfishing in their waters. This graduated to piracy after the lucrative benefits of piracy were discovered and resentment of foreign fishing reached a breaking point. The institution is almost formalised and more or less sustains what remains of the state's economy in stolen goods and ransom, with captives speaking of little abuse and polite treatment. Codes of conduct and a rank system regulate the pirates, a quasi-military force. Wives of pirates are compensated, rape holds a death penalty and income is fair to a man's work, similar to 18th-century pirate articles of conduct. For non-pirates, maintainance and servicing of the 'industry', such as account management, ship repair, and even professional negotiators for hostage situations and is a source of employment for many, arguably doing more for the people than the state's efforts, placing world governments and the local government in the predicament of economy vs. morality and the guilt many nations bear for being responsible for the overfishing in the first place.