Jon Hamm has signed on to star in Tony Gilroy’s political action thriller “High Wire Act,” with Brad Anderson directing for Ted Field’s Radar Pictures.

Field, Gilroy and Mike Weber are producing. Good Universe is handling international sales.

“I’m thrilled the way the project’s come together,” Anderson said. “Jon Hamm was made to play the part.”

The story is set in Beirut in the 1980s. Hamm will portray a former U.S. diplomat who is called back into service to save a former colleague from the group possibly responsible for his own family’s death.

Hamm has been active in movies during the seven-season run of “Mad Men,” which concludes May 17. He’s appeared in “The Town,” “Bridesmaids” and “Million Dollar Arm” and will be seen next year in Fox’s “Keeping Up with the Joneses.”

Anderson’s previous films include “The Machinist,” “Transsiberian” and “The Call” with Halle Berry. He has also directed several TV pilots, including “Zoo” for CBS.

Gilroy was nominated for Oscars for directing and writing “Michael Clayton.” He’s written all four “Bourne” scripts and directed the most recent, “The Bourne Legacy.”

Gilroy and Hamm are represented by CAA. Anderson is represented by WME and LBI Entertainment.