Director Michael Bay has tapped Emmy winner Kelsey Grammer to play the human antagonist in Paramount's "Transformers 4," TheWrap has learned.

Grammer joins a revamped cast that includes Mark Wahlberg and Stanley Tucci, as well as up-and-coming actors Jack Reynor ("What Richard Did") and Nicole Peltz ("Bates Motel").

Grammer, who recently won a Golden Globe for his turn as a scheming politician (is there any other kind?) on Starz's "Boss," will play a counter-intelligence operative who figures prominently in the plot.

The "Transformers" franchise could use a flesh-and-blood bad guy to root against, so let's hope Grammer is able to showcase the cackling menace he brought to the villainous role of Sideshow Bob on "The Simpsons."

Ehren Kruger wrote the script, and Lorenzo di Bonaventura is producing with Don Murphy, Ian Bryce and Tom DeSanto.

Grammer will soon be seen alongside Sylvester Stallone in John Herzfeld's "Reach Me," an indie drama whose executive producers include Cassian Elwes and Frankie Lindquist. He's repped by UTA.

Deadline broke the news of Grammer's casting in "Transformers 4."