Updated at 10:10 p.m.

PORTLAND — With all the votes tallied, former state Sen. Michael Brennan was the top vote-getter in the 15-way mayor’s race in Portland.

But he didn’t have enough to be declared mayor.

With all 12 precincts reporting, Brennan had 5,240 votes, or 27 percent of the total. That left him far short of the 50 percent-plus-1 needed to be declared mayor in the 15-candidate race.

“I’m honestly surprised,” Brennan said as the returns came in. “This is as good as it gets.”

The next highest vote tally went to Ethan Strimling, with 4,390 votes, or 22 percent.

In third position was current Mayor Nick Mavodones, with 2,938 votes, or 15 percent.

The Brennan camp was gathered at Empire Dine & Dance, where Brennan’s son was playing music as they watched the returns.

City officials will gather at 8 a.m. Wednesday at City Hall to start the ranked-choice vote count. A winner is expected to emerge by 5 p.m.