Veep guest star Peter MacNicol has found himself in the unfortunate situation of having his Emmy nomination revoked.

MacNicol, who played Jeff Kane on the most recent season of Veep, was nominated for Outstanding Guest Actor in a Comedy Series at the Emmys, but it was soon discovered that his nomination violated an Emmy rule -- as previously reported by Enstars. The rule states that only performers who appeared in less than 50 percent of their show's season can submit as a guest actor - MacNicol appeared in five out of 10 episodes of Veep this year and as such, is not a guest star.

The Television Academy announced this ruling via a statement to The Hollywood Reporter on Wednesday.

 "Upon review of the Guest Actor in a Comedy Series category, the Television Academy has determined that Peter MacNicol unfortunately exceeds the number of episodes permissible for inclusion in that category," the Academy said. "HBO's guest actor entry for Peter MacNicol was accurate at the time of the submission deadline, but he was subsequently included in an additional Veep episode. Unfortunately, that additional appearance places him in 50% of the season's episodes and makes him no longer eligible to compete in the guest actor category. This decision is in no way a diminishment of Mr. MacNicol's stellar performance on this season of Veep. A new nominee for Guest Actor in a Comedy Series will be announced shortly."

The replacement nominee - a.k.a. the actor who received the most amount of votes in this category without being nominated - has not yet been announced.

Other nominees in the Guest Actor in a Comedy Series category this year include Larry David for Saturday Night Live, Tracy Morgan for Saturday Night Live, Martin Mull for Veep, Bob Newhart for The Big Bang Theory and Bradley Whitford for Transparent.

The 2016 Primetime Emmy Awards will air live Sunday, Sept. 18 at 8 p.m. ET / 5 p.m. PT on ABC.