Neil Patrick Harris

You don't have to be Barney Stinson to think this year's Primetime Emmys will be legendary: Neil Patrick Harris has been tapped to suit up and host the ceremony.

Harris had been eyed by the network as host ever since garnering acclaim and the biggest audience in three years as host of June's Tony Awards for CBS.

See who walked the red carpet at last year's Emmys

"After having had such a hoot hosting the Tonys, I was thrilled to get the call about the Primetime Emmys," Harris said in a statement. "I'm looking forward to the challenge of the show — adding my own voice to it, while honoring the nominees and the entire year in television. But which voice to choose?  I'm torn between gangsta, foppish Brit, and robot. Really proud of my robot. We'll see what happens on the night."

NPH, who hosted last year's Creative Arts Emmys, will also produce the show.

The actor has earned back-to-back Emmy nominations for his womanizing Barney Stinson on How I Met Your Mother and looks to be a safe bet to make Thursday's nomination list.

The 61st Primetime Emmys airs live at 8 pm/ET on Sept. 20.