The ratings are in for the five town halls that CNN held for the top Democratic presidential candidates, and one was able to pull off a narrow victory over the rest.

According to Nielsen Media Research, Sen. Kamala Harris (D-Calif.) beat out the rest of the candidates with 1.4 million average viewers.

Sen. Bernie Sanders (I-Vt.) came in second with 1.3 million average viewers, right behind Harris.

South Bend, Indiana, Mayor Pete Buttigieg and Sen. Elizabeth Warren (D-Mass.) tied for third place with 1.2 million average viewers each.

By far the worst ratings were garnered by Sen. Amy Klobuchar (D-Minn.), who only had 869,000 viewers. Klobuchar had an embarrassing moment where she reminded the audience to applaud for her, reminding many of Jeb Bush's awkward "please clap" video.

Despite the relative ratings victory for Harris, Fox News still beat out CNN overall easily for the night. Harris also had to walk back comments about allowing convicted felons to vote from prison after her town hall event.

Here's some of the town hall with Harris: