NBC’s live revival of “The Sound of Music” averaged 18.5 million viewers Thursday, handily beating competitors in the Big Four throughout its three-hour telecast.

The Carrie Underwood-starrer peaked at the 9 p.m. hour, according to preliminary nationals from Nielsen, nabbing over 19 million viewers. The special’s biggest turnout was with women 25-54, a demo that notched a 7.0 in household rating during the primetime broadcast.

For its three hours, “Sound of Music” drew a 4.6 rating and 13 share among adults 18-49. In particular, “Sound of Music” gave NBC a rare victory in overall viewers in the brutal 8 p.m. timeslot, normally dominated by CBS’ “The Big Bang Theory” (4.6/14, 15.3 million). “Big Bang” hadn’t finished second in overall viewers since May 2012, though the Eye’s top sitcom still topped “Sound” in 18-49 for the halfhour.

Excluding sports, NBC scored its best Thursday in overall viewers since the “Frasier” series finale on May 13, 2004 (22.6 million) and its best Thursday 18-49 performance since the “ER” series finale on April 2, 2009 (5.2 rating).

Among viewers 18-49, NBC has also won five primetime nights in a row for the first time (excluding the Olympics) since June 2002.

CBS finished second on the night behind “Big Bang,” “The Millers” (2.5/7, 9.4 million), “The Crazy Ones” (2.1/6, 7.7 million), “Two and a Half Men” (2.3/6, 8.3 million) and “Elementary” (2.8/5, 8.2 million).

However, ABC finished second behind NBC from 9-11 p.m., thanks to “Grey’s Anatomy” (2.4/6, 7.5 million) and “Scandal” (3.1/8, 8.6 million). The Alphabet net continues to labor at 8 p.m. with “Once Upon a Time in Wonderland” (1.0/3, 3.6 million).

ABC’s audience improved over its last Thursday of firstrun programming two weeks ago, despite battling “Sound.”

Fox was fourth on the night with “The X Factor” (1.3/4, 4.8 million), which was in third place in the 8 p.m. hour, and “Glee” (1.1/3, 3.2 million). The CW had “The Vampire Diaires” (1.0/3, 2.3 million) and “Reign” (0.6/2, 1.7 million).

Preliminary 18-49 averages for the night: NBC 4.6/13, CBS 2.5/7, ABC 2.2/6, Fox 1.2/3, Univision 1.0/3, CW 0.8/2.

In total viewers: NBC 18.5 million, CBS 9.5 million, ABC 6.6 million, Fox 4.0 million, Univision 2.8 million, CW 2.0 million.