J.K. Simmons will join Mark Wahlberg in the Boston Marathon bombing drama “Patriots’ Day.”

The movie will be directed by Peter Berg (“Lone Survivor,” “Deepwater Horizon”) and written by Matt Charman (“Bridge of Spies”) based on the account of Boston Police Commissioner Ed Davis. Wahlberg, Scott Stuber, Hutch Parker, Dylan Clark, Stephen Levinson and Michael Radutzky are producing the pic, which begins shooting next month in Boston.

Simmons will play Sergeant Jeffrey Pugliese of the Watertown Police Department. Four days after the 2013 bombing, the off-duty officer jumped fences and went through backyards to flank bombing suspect Tamerlan Tsarnaev.

Wahlberg, a Boston native, will portray a Boston Police Department officer who was central to the investigation and manhunt.

“Beyond his considerable talents, J.K. Simmons is a person who respects the solemn trust that these real-life heroes are putting in our hands,” said Berg. “This is an actor who will represent the role in the best way possible.”

“Patriots’ Day” will be co-financed by CBS Films and Lionsgate. CBS Films is handling production and marketing, while Lionsgate is handling distribution.

Radutzky is a “60 Minutes” senior producer who leads the broadcast’s creative development unit, 60 Minutes Productions. CBS Films has secured Davis’ life rights, and the movie will utilize other details surrounding the events of the April 15, 2013, attack based on the “60 Minutes” story in which Davis appeared.

Simmons won the Best Supporting Actor last year for “Whiplash,” directed by Damian Chazelle. He’ll be seen this year with Emma Stone and Ryan Gosling in Chazelle’s “La La Land” along with “The Meddler” with Susan Sarandon and Rose Byrne. He’s also wrapped on “The Accountant” with Ben Affleck and “Bastards” with Owen Wilson and Ed Helms.

Simmons is represented by Gersh.