Joshamee Gibbs

Joshamee Gibbs is the tetartagonist of Pirates of the Caribbean: The Curse of the Black Pearl and Pirates of the Caribbean: Dead Man's Chest, a important character of Pirates of the Caribbean: At World's End, the deuteragonist of Pirates of the Caribbean: On Stranger Tides and a antihero later supporting character in Pirates of the Caribbean: Dead Men Tell No Tales. He is a skillful sailor who navigated his way through many deadly situations. He is played by Kevin R. McNally. Like Jack and many other pirates, he's very fond of rum, and it's hinted that his alcoholism is one of the reasons he resigned from his former position of a Royal Navy sailor. He's Jack's best friend.

Meeting Jack
Gibbs was once member of Great Britain's royal navy, during when his friend the infamous pirate Edward Teague and his Jack, were both arrested by the navy. However, Gibbs, being a friend of Edward Teague, helped him and Jack from the cells and kept the supply of rum he received them

Piracy
At some point Gibbs became part of the crew of HMS Dauntless, under the command Lieutenant James Norrington and where he joined Norrington, Weatherby Swann and Swann's daughter Elizabeth, on the voyage to the Caribbean from England. Along the they encountered a destroyed ship, where the ship's only survivor a boy named Will Turner, was brought board the Dauntless, then when Gibbs heard Elizabeth sing a pirate's song he discouraged to continue from singing because he was against piracy at the time. However, in the last eight years, at some point Gibbs deserted the navy and decided to become pirate himself and he became aware about how Jack lost his ship, the Black Pearl, in a mutiny led by his first mate Hector Barbossa.

Pirates of the Caribbean: Curse of the Black Pearl
Gibbs is first seen when he sleep with Pigs.