ANAHEIM, California: Edwin Encarnacion had four hits from four at bats with a homer and four RBIs as the Toronto Blue Jays completed a thunderous three-game sweep of the Los Angeles Angels on Sunday with a 12-5 victory that vaulted them back into first place in the AL East.

The Jays’ 16th victory in 19 games, coupled with the Yankees’ 4-3 loss to Cleveland, put Toronto atop the division for the first time since Aug. 13.

The Blue Jays, who lead the majors by far with 670 runs, set a franchise record for a three-game series with 36. They totaled 48 hits against a vanquished Angels pitching staff that has surrendered 44 runs, 60 hits and 15 walks over their last four games.

Cleveland slugger Francisco Lindor homered off Dellin Betances in the eighth and Trevor Bauer threw 6 1/3 strong innings as the Indians beat the New York Yankees 4-3 on Andy Pettitte Day in the Bronx.

Carlos Santana homered off Sabathia for the Indians, who have won five of their last six games at Yankee Stadium. CC Sabathia departed in the third inning with right knee pain.

In San Diego, Michael Wacha pitched six solid innings and Stephen Piscotty homered twice and drove in five runs to help the St. Louis Cardinals down the Padres 10-3 and avoid a three-game sweep.

Jason Heyward had three hits as St. Louis averted getting swept for the first time this season.

The Seattle Mariners also avoided a three-game sweep after Robinson Cano had a two-run homer and Nelson Cruz doubled in two runs for an 8-6 win over the Chicago White Sox.

Seattle built a 7-1 lead through five innings, but the White Sox cut it to 7-6 with five runs in the sixth behind a pair of two-run homers.

The Oakland Athletics defeated the Tampa Bay Rays 8-2 after Eric Sogard hit a tiebreaking two-run single as part of a seven-run seventh inning.

Mark Canha tripled and drove in four runs while Billy Burns added three hits for the A’s, who won for just the third time in 12 games.

New York’s Logan Verrett stepped into Matt Harvey’s spot and earned his first major league win in his first start, pitching eight impressive innings to lead the Mets past the Colorado Rockies 5-1, while Trevor Plouffe hit a tying single with two outs in the ninth inning as the Minnesota Twins edged the Baltimore Orioles 4-3 over 12 innings.

In other games, Kris Bryant homered twice as the Chicago Cubs downed the Atlanta Braves 9-3, the Houston Astros completed a 10th-inning 3-2 win over the Los Angeles Dodgers, the Kansas City Royals defeated the Boston Red Sox 8-6 and the Washington Nationals trounced the Milwaukee Brewers 9-5.

The Texas Rangers held onto the second AL wild-card spot with a 4-2 win over the Detroit Tigers, the Arizona Diamondbacks blanked the Cincinnati Reds 4-0, the Philadelphia Phillies shut out the Miami Marlins 2-0 and the Pittsburgh Pirates were 5-2 winners over the San Francisco Giants.

Cole Hamels threw six strong innings, and Mike Napoli and Chris Gimenez homered to help Texas hold onto the second AL wild-card spot.

The Rangers, who have won nine of their last 11 games, started the day with a half-game lead over the Angels, with Baltimore another half-game back.

Hamels (7-8) got the win, allowing two runs on eight hits and two walks. He struck out two. Shawn Tolleson, the third Rangers reliever, pitched the ninth for his 25th save.

Matt Boyd (1-4) gave up three runs on five hits and three walks in six innings.

Mitch Moreland put Texas ahead with a two-run double in the sixth.

Adrian Beltre and Rangers manager Jeff Banister were both ejected in the fifth inning.

Chris Anderson gave up five hits in 6 2/3 innings, and Welington Castillo and David Peralta homered to help Arizona hand Cincinnati its season high-tying ninth straight loss.

The Diamondbacks completed their first four-game sweep over the Reds.

Anderson (6-5) was optioned to Triple-A Reno on Tuesday and recalled on Thursday when Jeremy Hellickson was put on the disabled list. Relievers Addison Reed and Matt Reynolds finished the shutout. Reynolds, coming back from Tommy John surgery, made his first big league appearance since June 2013.

Raisel Iglesias (3-5) struck out 13 in seven innings, the most by a Reds rookie since Gary Nolan fanned 15 Giants in 1967.

Rookie Aaron Nola pitched a career-high eight innings and allowed only one runner to advance beyond first base, helping Philadelphia beat Miami and tighten the race for next year’s top draft pick.

By winning the final three games in the four-game series, the Phillies moved into a tie with Miami for the worst record in the majors (50-74). Philadelphia is 21-12 since the All-Star break.

Nola (4-1) allowed three hits, walked two and struck out six while throwing a career-high 100 pitches. The Phillies’ 2014 first-round draft choice lowered his ERA to 3.59 and improved to 4-0 in his past six starts.

Marlins rookie Adam Conley (1-1) allowed one run while pitching a career-high six innings. He walked four, but the Phillies went 0 for 5 with runners in scoring position against him.