LOS ANGELES (AP) — Greg Maddux is back with the Los Angeles Dodgers for another stretch drive following a 120-mile trip up the California coast.

The Dodgers reacquired Maddux from the San Diego Padres on Tuesday, getting the future Hall of Famer and cash for two minor leaguers to be named or cash.

"It's nice to be back," Maddux said with a smile. "Last to first. It's pretty cool. One off day and I make up 16 games, so I'm excited."

The 42-year-old right-hander first joined the Dodgers on July 31, 2006, and went 6-3 with a 3.30 ERA in 12 starts to help them win an NL wild-card berth. The Dodgers entered Tuesday night's action tied for the Arizona Diamondbacks atop the NL West, while San Diego languished in last place, 16 games off the pace.

"You never really want to leave your team and your teammates and all that, but it's nice to be back in a pennant race," Maddux said. "It was fun playing in San Diego and I loved it there. But I'm looking forward to the last month and a half here. It was great last time I was here, it was fun and it was exciting. I had a lot of good memories then, and I look forward to making some new ones.