BOSTON — Red Sox designated hitter David Ortiz is apparently so popular in the city that some residents think he should be mayor.

The World Series hero received several write-in votes in Tuesday’s election. But contrary to initial reports, he did not finish third.

City elections officials say 560 write-in votes were cast altogether, but they don’t count those not cast for declared write-in candidates. Therefore, the number of votes the World Series MVP received is unclear.

State Rep. Marty Walsh got nearly 52 percent of the vote to beat City Councilor John Connolly in the contest to replace the retiring Thomas Menino.