Captain William Fly (died July 12, 1726) was an English pirate who raided New England shipping fleets for three months in 1726 until he was captured by the crew of a seized ship. He was hanged in Boston, Massachusetts and his body publicly exhibited as a warning to other pirates. His death is considered by many to mark the end of the Golden Age of Piracy.