Sergio Estrada-USA TODAY Sports

Bob Melvin is leaving the San Diego Padres to become the next manager of the San Francisco Giants, multiple media outlets reported on Tuesday.

Melvin, who turns 62 on Saturday, had one season and $4 million remaining on his contract in San Diego. The three-time Manager of the Year and Bay Area native received permission from the Padres to interview with the National League West-rival Giants, who fired Gabe Kapler with three games remaining this season.

Per The Athletic, Melvin is expected to officially be named as manager of the Giants later this week.

The Padres have two internal candidates to potentially replace Melvin: bench coach Ryan Flaherty and senior advisor Mike Shildt. The Athletic reported that Flaherty, 37, has a strong relationship with general manager A.J. Preller, although the 55-year-old Shildt has major-league managerial experience due to his time with the St. Louis Cardinals (2018-21).

Melvin, a former Giants catcher, and Giants president of baseball operations Farhan Zaidi, worked together in Oakland. Melvin was the Athletics' manager and Zaidi served as their assistant general manager.

Melvin initially was slated to return as manager of the Padres in 2024 despite the team failing to meet high expectations this season.

There were reports of friction between Melvin and Preller late in the season.

Melvin posted a 171-153 record in two seasons with San Diego. The Padres went 89-73 in his first season and reached the NL Championship Series before losing to the Philadelphia Phillies.

In 20 seasons as a big league manager, Melvin has a 1,517-1,425 record with the Seattle Mariners (2003-04), Arizona Diamondbacks (2005-09), Athletics (2011-21) and Padres. He has guided eight teams to the postseason.

More must-reads:

TODAY'S BEST
Cubs moving veteran RHP to bullpen
Spurs reportedly high on NCAA Tournament champion guard
Insider shares major update on two-time All-Pro who remains a free agent
Former top QB recruit suing Florida HC, booster over near-$14M NIL deal
Jets HC Robert Saleh explains decision on OC Nathaniel Hackett
'Positionless' rules lead to a center-heavy NBA All-Defensive team
Jets' Aaron Rodgers addresses mental rust, RFK Jr. decision
Penguins sign young defenseman to three-year extension
Guardians place right-hander on injured list
Victor Wembanyama's latest honor puts another spotlight on his greatness
Lamar Jackson reportedly made significant physical change for 2024
Dolphins safety appears to take a shot at former DC
Ryan Leaf goes off on top NFL insider, accuses him of being a fraud
Report: TNT is still fighting to save its NBA rights
Lightning re-acquire defenseman from Predators
Steelers star DT blasts reporter's 'bold face lie'
Deadline for LeBron James' contract decision revealed
Jets HC Robert Saleh shares significant update on Aaron Rodgers' health
Steelers add another veteran to running back room
Charvarius Ward names positive 49ers can take from Super Bowl loss