LOS ANGELES – Tom Lasorda, a Hall of Fame manager with the Los Angeles Dodgers, is recovering after surgery to replace his pacemaker.

The Los Angeles Dodgers said Friday on Twitter that Lasorda, 89, “is doing well.” He had the surgery Thursday.

A team official said Lasorda will undergo rehab for the next few days before being released from the hospital, where he’s been for over two weeks.

Lasorda has a history of heart problems, including a heart attack in 2012 when he received a pacemaker for the first time. Lasorda has been hospitalized several times in the last year, including after a fall in August.

Lasorda, a special adviser to the team’s chairman, guided the team to two World Series titles, including their last in 1988. He’s spent nearly seven decades in the Dodgers’ organization, beginning as a minor league pitcher in 1949.

WHITE SOX: Starter James Shields said he’s just about ready to go on a rehab assignment.

Shields, a 35-year-old right-hander, threw about a 30-pitch bullpen session for the second time in three days. He plans to throw again Monday, then make one or two rehab starts before returning from the 10-day disabled list.

NATIONALS: In the wake of Chris Heisey’s significant biceps injury, Washington added more potential bench help, acquiring outfielder Ryan Raburn from the White Sox organization for a player to be named later or cash considerations.

Raburn, 36, had been hitting .253 for the Triple-A Charlotte Knights with a .417 on-base percentage

ATHLETICS: Pitcher Kendall Graveman was scratched from his start at Yankee Stadium and likely is headed to the disabled list with fellow right-hander Jesse Hahn.

Manager Bob Melvin said that both pitchers have ailing shoulders.

Right-hander Jharel Cotton, demoted to the minors May 11, will be recalled from Triple-A Nashville and start Saturday.