Auburn baseball tied the second-best start in program history after rallying to beat UAB on the road.

No. 20 Auburn erased a five-run deficit in Birmingham on Tuesday night to defeat UAB, 11-8, at Regions Field to remain perfect on the season. The Tigers are now 13-0, tying the 2001 team for the second-best start in school history -- four away from tying Auburn's best start ever.

After falling behind 8-3 in the sixth inning, Auburn's offense exploded for eight runs over the final three frames to come away with the road win.

Josh Anthony launched a three-run home run, his first of the year, to left-center field in the seventh to spark the rally. Anthony finished 1-for-2 with three walks, the home run and three RBI.

Auburn added four more runs in the eighth, the first coming on a Will Holland RBI single and the other three on a home run by Brett Wright. After Holland's single, he stole second base before UAB walked Luke Jarvis to put to aboard for Wright, who deposited the offering from left-handed reliever Ty Harris over the left-field wall to give Auburn its first lead since the second inning.

Wright finished the day 1-for-1 with a walk, the three-run home run and two runs scored. His homer was his team-leading third of the season.

The Tigers added an insurance run in the ninth, when Jay Estes doubled down the left-field line to plate Anthony.

Corey Herndon earned the win after pitching a perfect sixth inning in relief, and Cody Greenhill tallied his third save of the season after working two perfect innings and striking out three of the six batters he faced to preserve the win.

Tom Green is an Auburn beat reporter for Alabama Media Group. Follow him on Twitter @Tomas_Verde.