Doug Melvin is leaving his job as general manager of the Milwaukee Brewers.
The team and Melvin announced the move Tuesday on Twitter. He will continue to lead the team's baseball operations department before "transitioning into an advisory role."
The Brewers are in last place in the NL Central and are in Chicago to start a three-game series with the Cubs.
Milwaukee is rebuilding, having traded Carlos Gomez and Aramis Ramirez at the July 31 trade deadline. Melvin fired manager Ron Roenicke in May and replaced him with Craig Counsell.
The Brewers are 48-65, with the second-worst record in the NL.