And the winners of the New York primary? New York ad men.

The campaigns spent over $9.8 million on broadcast advertising in the Empire State, according to data from ad-tracking firm SMG Delta. That's the seventh-highest total for broadcast ad spending in a primary or caucus so far this season.

Sen. Bernie Sanders' campaign spent over $5.7 million, the most overall and nearly twice that spent by his victorious Democratic opponent, Hillary Clinton. With 98 percent of votes reported as of Wednesday morning, Sanders' campaign spent over $7 per vote for ads, more than any other campaign.

Clinton spent around $3 per vote.

Sanders earned headlines in the weeks before the primary with an emotional four-minute endorsement from Erica Garner, daughter of Eric Garner, whose 2014 death at the hands of an New York City police officer set off protests.