Incumbent mayor Rick Kriseman won re-election in St. Petersburg on Tuesday with 51.6 percent of the vote after a dead-heat primary in which he edged challenger Rick Baker by just 70 votes.

Kriseman won Democratic leaning areas across the city, while Baker held on to Republican strongholds and working-class, heavily-black neighborhoods in Midtown. These three maps help explain what took Kriseman over the top.

Where they won

Blue precincts show where Kriseman won. Precincts in red voted Baker. (Unofficial results.)

The incumbent dominated Downtown and Kenwood, while Baker held on to wealthy bayside neighborhoods and working-class, heavily black precincts in Midtown.

Where voters showed up

Darker orange areas saw high voter turnout. (Unofficial results.)

Voter turnout rates ranged between 20 and 60 percent. Bayside voters showed up in droves, and downtowners voted in higher numbers than in the primary.

Where Kriseman pulled ahead

Darker green areas show where Kriseman improved his margin over Baker. Tap any precinct to see how many votes he picked up or lost. (Unofficial results.)

Kriseman picked up votes all over the city, finishing with 51.6 percent of the vote, compared to just 48.2 percent in the primary. But he especially improved with voters Downtown, who turned out in higher rates on Tuesday. Three of the four districts where he improved his margin most were along Beach Drive.

He also picked up a number of votes near Pinellas Point and Lakewood Terrace.