After several days of uncertainty, outfielder Mookie Betts and left-hander David Price reportedly are heading to the Los Angeles Dodgers as part of a deal that was agreed upon Sunday evening.

The deal is pending medical reviews, according to Ken Rosenthal of The Athletic.

The Dodgers will obtain Betts and Price, along with cash to cover up to half of Price’s $96 million remaining salary, multiple outlets reported. The Boston Red Sox will receive outfielder Alex Verdugo, shortstop Jeter Downs and catcher Connor Wong from the Dodgers.

In a second trade, the Dodgers will send right-hander Kenta Maeda to the Minnesota Twins for right-hander Brusdar Graterol and the 67th pick in the draft next summer. Minnesota also reportedly will receive cash and a low-level prospect as part of the deal.

The final structure of the trades provides a slight alteration on a set of deals agreed upon earlier this week. The Red Sox were originally set to acquire Graterol.

For his six-year career, all with the Red Sox, Betts has a .301/.374/.519 batting line with 139 homers, 470 RBIs and 613 runs in 794 games.

Price, slowed by injuries numerous times in his career, went 7-5 with a 4.28 ERA in 22 starts last year. The five-time All-Star is 150-80 with a 3.31 ERA in 321 career games (311 starts) for the Tampa Bay Rays, Detroit Tigers, Toronto Blue Jays and Boston.

Verdugo, 23, hit .294/.342/.475 with 12 homers and 44 RBIs in 106 games for Los Angeles in 2019, appearing at all three outfield positions. Over three major league seasons, all with the Dodgers, he has a .282/.335/.449 hitting line with 14 homers and 49 RBIs in 158 games.

Maeda, 31, finished 10-8 with a 4.04 ERA in 37 games (26 starts) last year in his fourth season with the Dodgers. His career record is 47-35 with a 3.87 ERA in 137 games (103 starts).

Graterol, 21, broke into the majors with the Twins in September, going 1-1 with a 4.66 ERA in 10 relief appearances. In 18 minor league games at three levels last year, he went a combined 7-0 with one save and a 1.92 ERA in 18 games (11 starts).