All In With Chris Hayes won MSNBC’s only Emmy last night at the 36th Annual News and Documentary Emmy Awards in the Outstanding News Discussion and Analysis category for Fifty Year War: The Changing Face Of Poverty In America. It was the first Emmy win for Hayes’ program.

Whoa. We just won an Emmy!!! — Christopher Hayes (@chrislhayes) September 29, 2015

In July, Hayes may have gotten a last minute reprieve when his ratings-challenged primetime program nabbed that cable news network’s only two nominations for a News & Docu Emmy (the second nom went to the show’s All In America: A New Frontier In Women’s Healthcare).

That morning’s noms announcement had come on the eve of what sources were describing as an all-hands-on-deck town hall meeting with staffers called by Andy Lack, Chairman of NBC News and MSNBC. At that gathering Lack was expected to hint at lineup overhaul plans, as he looked to pull that network out of the ratings cellar.

Hayes’ show had been among those filed under Vulnerable by Reporters Who Cover TV. That’s because, in Q2 the program clocked 540,000 total viewers, a 12% drop compared to same time last year, and 107,000 news-demo viewers, a drop of 20% and MSNBC’s lowest performing primetime show in the demo for the quarter. (More recently, for Q3, All In averaged 698,000 in total viewers, and 130,000 news-demo viewers).

Hayes’ show competes for viewers in its timeslot against Fox News Channel’s The O’Reilly Factor, as well as CNN’s Anderson Cooper. Speaking of Fox News Channel, it again received no News & Docu Emmy wins last night, having received no noms after years ago announcing it would not compete for the awards because it believed the Emmys are biased against Fox News.