San Diego Padres general manager Jed Hoyer resigned Wednesday to accept the same position with the Chicago Cubs.
Jason McLeod also is leaving the Padres to join the Cubs as the team's vice president of scouting and player development.
The Cubs will send a player to be named later to San Diego in exchange for Hoyer and McLeod.
Hoyer will be reunited with Theo Epstein, who left the Boston Red Sox to take over as director of baseball operations for the Cubs.
The Padres announced that Josh Byrnes will succeed Hoyer as the team's general manager.Byrnes, who was fired by the Arizona Diamondbacks in 2010 and hired by the Padres, previously worked with Epstein and Hoyer in Boston.