ST. PETERSBURG — In the end, Gina Driscoll squeaked through to the November runoff for the City Council District 6 seat with just two votes.

In Tuesday's primary, Driscoll, 46, finished just four votes ahead of Robert Blackmon, 28, for second place.

In machine and manual recounts Friday, Blackmon gained three votes and Driscoll one, leaving her a two-vote margin. Driscoll will now go up against Justin Bean, 30, who received the most votes of the eight District 6 candidates in the primary.

TAMPA BAY TIMES COVERAGE: ST. PETERSBURG ELECTIONS

JOHN ROMANO: St. Pete mayoral race now goes to overtime

MAYORAL PRIMARY: Kriseman, Baker headed to runoff

CITY COUNCIL PRIMARY: Justin Bean leads District 6 council race; Driscoll, Blackmon trail

WHAT'S NEXT:Where did Kriseman and Baker get votes -- and where can they get more?

DATA ANALYSIS: A graphic dive into St. Petersburg's mayoral primary

But the District 6 seat will be just one of several election battles heading into the Nov. 7 election. There's also the mayor's race, three council seats and the Penny for Pinellas referendum.

In District 2, Brandi Gabbard and Barclay Harless will vie to replace City Council member Jim Kennedy, who is term-limited. Council member Darden Rice will face first-time candidate Jerick Johnston in District 4.

Council member Amy Foster, the incumbent in District 8, was unopposed and is poised to serve another term.

But the race drawing the most attention is between the two Ricks: incumbent Mayor Rick Kriseman and former Mayor Rick Baker. The two picked up a smattering of votes in Friday's recount. Kriseman added three for a total of 27,325 votes and Baker two, to take him to 27,255. Kriseman's lead increased by just one vote to 70.

SUNSHINE CITY SHOWDOWN: Keep up with the Tampa Bay Times coverage of the St. Petersburg mayoral race

For Driscoll and Blackmon, Friday's recount was a nail biting process with several layers.

Both candidates gained one vote each after the Pinellas County Canvassing Board reviewed 14 provisional ballots — usually the result of voters without proper identification. Only four of the 10 approved provisional ballots applied to District 6.

Blackmon gained a second vote during the machine recount and a third during the manual recount.

"I commend the election board for their hard work," Blackmon said afterward. "I thank all of my supporters from the bottom of my heart. I'm truly humbled. Que Sera, Sera. Democracy."

Florida statutes require a machine recount if the difference separating candidates is 0.5 percent or less. State law also calls for a manual recount if the machine recount results in a margin of 0.25 percent or less.

The official results show that Bean received 1,442 votes, or 21 percent. Driscoll's total was 1,216, or 17.81 percent, and Blackmon followed closely with 1,214 votes, or 17.78 percent.

Driscoll, president of the Downtown Neighborhood Association, said she was "thrilled" with the results.

"I'm ready to gear up for November," she said. "I'm excited to talk to residents all across St. Petersburg to learn about the issues that are important to them and talk about ways we can move forward together," she said.

Driscoll has been endorsed by City Council member Karl Nurse, who has represented the district since 2008 and cannot run again because of term limits.

NOVEMBER BALLOT: St. Pete will vote on more than just mayor on Nov. 7

In November, county voters will also have to decide whether to renew the Penny for Pinellas 1-cent sales tax for another 10 years. In addition, city voters will decide whether to allow the Vinoy Renaissance St. Petersburg Resort & Golf Club to execute a phase of its expansion plans and whether to extend the St. Petersburg Baseball Commission's lease to operate Walter Fuller Baseball Park.

Contact Waveney Ann Moore at wmoore@tampabay.com or (727) 892-2283. Follow @wmooretimes.