Kevin Bacon has joined the cast of CBS Films and Lionsgate’s Boston Marathon bombing thriller “Patriots Day” starring Mark Wahlberg.

John Goodman, Michelle Monaghan and J.K. Simmons will also star.

The movie will be directed by Peter Berg from a script by Matt Charman. Wahlberg, Scott Stuber, Hutch Parker, Dylan Clark, Stephen Levinson, Michael Radutzky and Dorothy Aufiero are producing.

“Patriots Day” will be co-financed by CBS Films and Lionsgate, with the former handling production and marketing and the latter handling distribution. It will bow on Dec. 21, 2016.

The film will follow the events leading up to the 2013 Boston Marathon bombing and its aftermath, which includes the city-wide manhunt to find the terrorists behind it. Bacon will play FBI Special Agent in Charge Richard DesLauriers.

“Richard DesLauriers worked tirelessly as one of the key figures in an impossibly sophisticated investigation, and Kevin Bacon possesses the intelligence and empathy to portray him,” commented Berg.

Bacon was last seen playing an FBI agent hunting down mobster Whitey Bulger in the Warner Bros. mob pic “Black Mass.” Bacon is also developing a television sequel to his cult classic “Tremors.”

He is repped by WME and MGMT Entertainment.