To eke out an election victory over the city’s low-key comptroller, Mayor Michael R. Bloomberg spent $102 million of his own fortune  or about $174 per vote  according to data released Friday, making his bid for a third term the most expensive campaign in the city’s history.

Mr. Bloomberg, the wealthiest man in New York City, shattered his own records: He poured $85 million into his campaign in 2005 (or $112 per vote) and $74 million into his first bid for office in 2001 ($99 per vote).

And the $102 million tab is likely to rise, because the mayor has not yet doled out postelection bonuses to campaign workers, which have routinely exceeded $100,000 a person in years past. That spending will not be reported until after his inauguration in January.

Mr. Bloomberg has now spent at least $261 million of his own money in the pursuit of public office, more than anyone else in the United States.