Will Ferrell is attached to star in a comedy based on the true story of a successful 1968 expedition to the North Pole with Temple Hill producing for Sony.

The project is based on Guy Lawson’s article in the New York Times Magazine titled “An Insurance Salesman and a Doctor Walk Into a Bar, and End Up at the North Pole: The Story of an Accidentally Pioneering Expedition.”

The story follows a ragtag group of six middle-aged men from Minnesota who spontaneously decide over a beer to mount a snowmobile expedition to the North Pole. The team manages to overcome a daunting array of obstacles to make the first undisputed expedition ever to reach the North Pole.

No director or writer is attached. Jonathan Kadin will oversee the film for the studio.

The article begins, “The twin-prop plane swung low, tilting its wings and heading north, only to circle back and swoop down over the men again. It was March 7, 1968, and the members of the Plaisted Polar Expedition looked up at the plane in bewilderment. They were trying to travel to the North Pole by snowmobile — in what they believed to be the first expedition to the North Pole carried out on motorized machines, but what in reality may very well have been the first to reach the North Pole at all. Barely an hour into the trek, it wasn’t going well. Having just left base camp, the six men stood atop a 40-foot-high wall of ice at the edge of the Arctic Ocean and looked at what lay ahead: stretching over the horizon, an unending moonscape of ice boulders, crevices and pack ice contorted by vast floes whose constant motion created steep pressure ridges and black stretches of open water known as leads.”

Ferrell last starred in “Daddy’s Home” and “Zoolander 2.” Temple Hill produced “The Fault in Our Stars” and the Maze Runner and Twilight franchises.

Temple Hill teamed with Ferrell in the 2010 comedy-drama “Everything Must Go.”

The news was first reported by Deadline Hollywood.