AUSTIN — A statewide television blitz launched by Lt. Gov. David Dewhurst attacking state Sen. Dan Patrick over bankruptcy debts wrapped up its run Tuesday — and public records detail the extent to which the campaign shelled out to launch its first offensive against Patrick.

Those records show Dewhurst spent about $1 million to air his ad more than 1,800 times in at least 10 cities across the state (Patrick’s top consultant, Allen Blakemore, using intelligence from the campaign’s media trackers, had already said that Dewhurst spent around $1 million to attack his candidate).

We actually put the figure at right around $980,000. That includes all Dewhurst TV ad buys in the state’s four major metro areas and all ads purchased on Time Warner Cable (the figure does not include any cable buys in Houston on Comcast).

Patrick and Dewhurst both spent heavily on TV ads during the primary (Patrick launched a new TV offensive today but no contracts have been uploaded by broadcasters to an online database).

It didn’t pay off for Dewhurst, who lost by 13 percentage points.

In his most recent round of ad buys, Dewhurst dropped the most money on Houston broadcast buys, spending a little more than $350,000.

Here’s a breakdown:

Houston: $354,045 (428 spots)

Dallas/Ft. Worth: $314,190 (418 spots)

Austin: $118,630 (393 spots)

San Antonio: $116, 420 (288 spots)

Total broadcast spend: $903,285

Time Warner Cable:

DFW: $29, 750 (35 spots)

San Antonio: $21,182 (35 spots)

Austin: $11,760 (35 spots)

Corpus Christi: $6,496 (35 spots)

El Paso: $2,527 (35 spots)

Harlingen: $2,212 (35 spots)

Waco: $2,520 (35 spots)

Laredo: $756 (35 spots)

Total Time Warner Cable: $77,203

Grand total: $980,488