The final numbers for the 2012-2013 season are in, and "NCIS" and CBS were the biggest winners.

The Mark Harmon drama had the most viewers, besting NBC Sunday Night Football. But football was tops with the 18-to-49 age group.

CBS had the most reasons to crow. It was the most-watched network for the 10th time in 11 seasons, and won that contest by the widest margin of any network in 24 years.

The prime-time averages in total viewers: CBS with 11.8 million viewers, ABC with 7.9 million, Fox with 7 million, NBC with 6.97 million and The CW with 1.8 million.

And CBS won the 18-to-49 age group for the first time in 21 years. Fox ranked second, followed by NBC, then ABC. (But the race tightened in the May ratings period, with CBS, Fox and ABC tying for leadership.)

The most-watched programs for the season in viewers:

1. "NCIS," CBS, 21.3 million

2. Sunday Night Football, NBC, 21 million

3. "The Big Bang Theory," CBS, 18.7 million

4. "NCIS: Los Angeles," CBS, 17.3 million

5. "Person of Interest," CBS, 16.1 million

6. "American Idol" Wednesday, Fox, 15 million

7. "Dancing With the Stars" Monday, ABC, 14.9 million

8. "American Idol" Thursday, 14.6 million

9. "The Voice" Monday, NBC, 14.2 million

10. "Two and a Half Men," CBS, 13.8 million

The top broadcasts in the 18-to-49 age group:

1. Sunday Night Football, NBC

2. "The Big Bang Theory," CBS

3. "The Voice" Monday, NBC

4. "Modern Family," ABC

5. "The OT," Fox

6. (tie) "American Idol" Wednesday, Fox

"The Voice" Tuesday, NBC

8. (tie) "American Idol" Thursday, Fox

"The Following," Fox

10. "Grey's Anatomy," ABC

"Two and a Half Men," CBS

"NCIS" ranked No. 12 in that count.