ATLANTA — Julio Teheran never imagined it would take this long to win a game at home.

“It sounds weird to say it’s my first win at home at almost the end of the August, but it is what it is,” he said. “I’m glad I got it today. I pitched a great game.”

Teheran won for the first time in 10 starts, rookie Dansby Swanson drove in three runs and the Atlanta Braves beat the San Diego Padres 7-3 on Tuesday night.

Teheran began the night with the lowest run support in the major leagues, but the two-time All-Star used a rare offensive outburst by Atlanta to earn his first home victory since last Oct. 2, a span of 14 starts.

Interim manager Brian Snitker appreciated Teheran’s steady demeanor during the long drought, particularly in not complaining when his teammates couldn’t score runs.

The Braves averaged just 2.9 runs of support in Teheran’s first 23 starts.

“It’s unbelievable,” Snitker said. “He’s one of those pros. He’s our guy that people look to. I like those guys that pitch every inning as their single, little entity. He’s trying to win that inning.”

The Braves, who rank last in runs, used six hits to take a 5-0 lead off journeyman Edwin Jackson in a five-run third. Adonis Garcia, Freddie Freeman, Jace Peterson and Swanson had RBI singles. Tyler Flowers added a sacrifice fly.

Teheran (4-9) allowed six hits and two runs and struck out eight in seven innings. The Braves’ ace returned from the disabled list two weeks ago after missing 26 games with a right lat strain. He gave up nine runs in 11 innings over his last two starts.

Jackson (3-5) allowed seven hits, five runs and three walks in 2 2/3 innings. The 14-year veteran, pitching for his 11th team, has a 6.34 ERA in eight starts and has given up 18 earned runs in his last 11 2/3 innings.

“Coming out of the bullpen, I had no clue the game would be like it was tonight,” Jackson said. “I felt pretty good and it didn’t transition over into the game.”

Swanson, the first overall pick in the 2015 draft, had a two-run double in the fifth off Carlos Villanueva to put the Braves up 7-2.

Teheran was coming off his worst start of the season when he allowed 11 hits and six runs in six innings of a no decision at Arizona last Wednesday.

His only mistake was a fastball that Oswaldo Arcia hit for his first homer with San Diego, and seventh overall, to cut the lead to 5-2 in the fourth.

“A couple of games I didn’t have my best stuff, but I battled and I’ve been working in the bullpen like I was at the beginning of the year,” Teheran said. “I’m glad I did today what I could.”

The Braves improved to 20-44 at home, worst in the majors.

ON THE RUN

Travis Jankowski easily stole his 29th base in the fifth, dropping catcher Flowers to 1 for 41 in caught-stealing attempts.

ROSTER MOVES

The Braves recalled RHPs Shae Simmons and John Gant from Triple-A Gwinnett, placing RHP Arodys Vizcaino on the 15-day disabled list with right shoulder inflammation and optioning RHP Brandon Cunniff to Gwinnett.

TRAINER’S ROOM

Padres C Christian Bethancourt left after the top of the third inning with a left intercostal strain. … Derek Norris took his place.

UP NEXT

Padres: RHP Paul Clemens (2-3) will face Atlanta for the first time.

Braves: RHP Matt Wisler (5-11) is 0-1 with a 3.60 ERA in one career start against San Diego.