It's official: Hugh Jackman will star in Warner Bros.' live-action Pan.

Word began circulating last month that the Wolverine actor would play Blackbeard in the Peter Pan origin film, but now it's a done deal, according to The Hollywood Reporter.

In this tale directed by Joe Wright (Atonement), Blackbeard captains a ship packed with pirates including Hook and Pan, who team up to take down Jackman's character. Garrett Hedlund was recently offered the role of Hook.

Pan is scheduled to hit theaters on July 17, 2015.