Who began his career as a privateer but was ultimately hanged as a pirate?

The correct answer is "Captain Kidd"