Paul Rudd is set to star in the World War II film “The Catcher Was a Spy,” sources confirmed to Variety.

Ben Lewin is on board to direct the movie, which PalmStar Media is producing and financing.

Rudd will play Moe Berg, an Ivy League grad and attorney who goes on to play baseball for 15 years for teams that included the Chicago White Sox. What was unknown to his teammates was that Berg doubled as a top secret spy for the OSS (a forerunner for the CIA), who helped the U.S. win the race against Germany to build the atomic bomb.

“Saving Private Ryan” scribe Robert Rodat penned the script. PalmStar Media’s Kevin Frakes and Mark Fasano will produce along with Animus Films’ Jim Young and Tatiana Kelly of Serena Films. PalmStar’s Buddy Patrick will executive produce.

Rudd reprises his role as Ant-Man in the upcoming “Captain America: Civil War,” and also has “The Fundamentals of Caring,” where he stars opposite Selena Gomez, set to bow later this year.

Lewin most recently helmed “Please Stand By.” Rudd is represented by UTA, Lighthouse Management and Jackoway Tyerman. Lewin is repped by CAA and Loeb & Loeb.

Deadline Hollywood first reported the news.