View Photo Gallery: NBC, FOX, CBS, ABC and CW announced their returning shows. “Scandal,” “New Girl,” “Community” and “The Vampire Diaries” will return along with many other favorites.

Now that Nielsen numbers for last week are finally out, and with the TV season almost over (it officially ends Wednesday night), CBS officially pronounced itself the winner Tuesday, snagging the biggest prime-time audience for the 10th time in the past 11 seasons.

CBS had a hefty 4 million-viewer lead over its closest competitor this season — the largest margin of any network in 24 years.

The network also claimed its first win in 21 years among the 18- to 49-year-old viewers who are the currency of broadcast-TV ad sales.

CBS noted — as did its chief, Les Moonves, last week to advertisers in New York — that the network wins the season even if you remove from audience average the 108.7 million who watched CBS’s Super Bowl broadcast.

Fox, which has the Super Bowl next season, tumbled from first place in the age bracket to second after eight seasons on top. Fox also fell to third among viewers overall, owing in large part to major ratings setbacks for its two singing competition series: “The X Factor” in the fall and “American Idol” in the spring.

In the fallout, one “Idol” judge, Randy Jackson, has already exited; the fate of the three others is unclear; and the show will undergo yet another format “tweaking,” according to network suits.

Meanwhile, Paulina Rubio and Kelly Rowland this week were named to replace Britney Spears and L.A. Reid as judges on “X,” and co-host Khloe Kardashian also is out for next season.

For the first time, CBS’s ‘NCIS” (21.3 million viewers) is the country’s most watched program for a TV season, beating even NBC’s Sunday football (21.0 million).

CBS’s “The Big Bang Theory” was the season’s No. 1-ranked comedy in overall audience and in the 18-34 age bracket.

CBS also boasted the most watched new series: its Sherlock Holmes update, “Elementary.”

The top-ranked new drama in the key age bracket is Fox’s “The Following.” And the top-ranked new comedy in the age bracket is ABC’s “How to Live With Your Parents (For the Rest of Your Life).”

ABC debuted “How to Live with Your Parents” very late in the season, so it never ran any repeat episodes. It also enjoyed the post-“Modern Family” time slot. It also has been canceled.