Updated

ATLANTA (Reuters) - Brian McCann hit a walk-off RBI single in the bottom of the 10th inning as Atlanta rallied to beat the Washington Nationals 6-5 Thursday.

The Braves (21-18), who lost in extra innings to the Nats Wednesday, fought back from a 5-1 deficit in the seventh inning to win the game and avoid being swept in the three-game series.

"We pretty much got our (tails) kicked for the better part of three games," Atlanta's Chipper Jones told reporters after hitting a solo home run in the third inning. "We stole one tonight."

Atlanta's Martin Prado delivered the game-tying grand slam home run in the seventh, then drew a lead-off walk and scored the winning run from second on McCann's hit in extra innings.

Danny Espinosa and Ivan Rodriguez slugged home runs as Washington (18-19) grabbed a 5-1 lead but they could not hold the advantage.

Nationals starter Jordan Zimmermann struck out 11 batters in 6 1/3 innings, but was charged with three runs. He left the game with two men on base and was relieved by Sean Burnett, who allowed the game-tying homer.

"I felt great all night," Zimmermann said. "I just left one pitch up to Chipper. Other than that, everything was working."

Doug Slaten tossed the final 2 1/3 innings and took the loss in the 10th.

Craig Kimbrel worked the 10th for Atlanta and picked up the win as the home team used four relievers in the final four innings to hold Washington hit-less.

(Editing by Peter Rutherford)