Please help me remember. It's an older classic, maybe made jn the 50s60s
It's set on a ship. Some sort of power battle with crew and captain/ first mate.
The main character is hung at the end. It's a shocking ending. I know it's a famous classic movie but I just can't remember it