Dusty Baker will manage the Houston Astros through 2021 after the MLB franchise picked up the option on his contract.
Baker was appointed in January after manager AJ Hinch and general manager Jeff Luhnow were sacked following Houston's sign-stealing scandal.
Hinch and Luhnow were initially suspended for one year by the MLB following the league's investigation into alleged sign stealing in 2017 – Houston's World Series-winning season.
Baker has only overseen four MLB games during this season's coronavirus-hit campaign, which has been reduced to 60 regular-season fixtures behind closed doors.
However, the 71-year-old – who previously managed the Washington Nationals, Cincinnati Reds, Chicago Cubs and San Francisco Giants – has done enough to come back next season.
"Dusty has been a perfect fit for our ballclub," Astros general manager James Click said in a statement on Tuesday.
"His knowledge of the game and experience have been invaluable to us in his first few months with the club. We're excited to see him in an Astros uniform again next year."
Baker, who ranks 15th all-time in managerial wins with 1,866 entering Tuesday's matchup against the Los Angeles Dodgers, added: "I was one of the lamest ducks there is walking around. It feels pretty good not to be a lame duck, and this is the best I've been treated in quite a while.
"I commend [owner] Jim Crane and the organisation and James Click for making this possible. I know we've got some work to do."