MSNBC's "The Rachel Maddow Show" scored the highest ratings in cable news in March, beating out Fox News's "Hannity."

Forbes reported Wednesday that Maddow's show came in with an average total audience of 3.058 million. The numbers mark the show's second best performance to date at the 9 p.m. hour.

Sean Hannity's show came in second, garnering an average total audience of 3 million viewers, Forbes reported.

Maddow also topped in the number of viewers ages 25-54, the demographic most valued by advertisers, coming in with an average audience of 671,000 viewers. Hannity finished the month with an average of 616,000 viewers in the coveted category.

MSNBC is the only cable news network to have seen a year-over-year growth in ratings in the first quarter of 2018 compared to the first quarter of 2017. By comparison, both CNN and Fox News saw ratings decline in that period.

Nevertheless, Fox News still came in as the top-rated cable news network overall in the first quarter of 2018, averaging 2,479,000 viewers overall and 494,000 in the 25-54 demographic in primetime.

Still, MSNBC's prime-time lineup ratings are up 8 percent from 2017, while Fox News is down 18 percent and CNN is down 16 percent, according to Forbes.

-Updated 11:53 p.m.