OAKLAND (CBS/AP) — Billy Butler and Khris Davis each homered and drove in three runs and the Oakland Athletics beat the Detroit Tigers 12-3 on Saturday, ending a three-game losing streak.

Danny Valencia had three hits, including a home run, and Coco Crisp and Jake Smolinski each drove in two runs while the A’s reached double figures in scoring for the first time this season.

Jesse Hahn (2-2) pitched six innings, giving up three runs on five hits to remain undefeated against the Tigers in three starts. He walked four and struck out five.

Warwick Saupold (1-1) relieved starter Matt Boyd, gave up five runs on five hits and recorded one out in the sixth to suffer the loss. The Tigers had won nine of their previous 11 games.

Victor Martinez hit a tying two-run homer in the sixth before the A’ scored nine runs in the sixth and seventh.

Boyd, recalled from Triple-A Toledo to make the start, gave up three run on six hits over five innings. He did not walk a batter and struck out seven, including the first four he faced.

Solo home runs from Butler and Valencia gave the A’s a 2-0 lead after four innings. Justin Upton scored for Detroit on a wild pitch in the fifth, but Crisp drove in a run to make it 3-1, setting up the fireworks that followed.

Marcus Semien also drove in a run, and the A’s scored more runs than they had in their previous four home games combined.

TRAINER’S ROOM

Tigers: OF Steven Moya was optioned to Triple-A Toledo after Friday night’s game to make room for Boyd. Moya appeared in one game with the Tigers, going 1 for 1 with an RBI.

A’s: RHP Sonny Gray (right trapezius strain) threw about 35 pitches off the bullpen mound Saturday and is scheduled to throw off the regular mound Tuesday. … RHP Henderson Alvarez (right shoulder) was extended to throwing 105 feet on Saturday and came out of it feeling good. He’ll throw a bullpen on Monday. … RHP R.J. Alvarez (right elbow) is scheduled to throw to hitters on Tuesday.

UP NEXT

Tigers: RHP Mike Pelfrey (0-4, 5.55) is expected to start Sunday’s series finale against the A’s. He’s 0-3 with an 11.05 ERA in three starts against the A’s, all at home.

A’s: LHP Rich Hill (7-3, 2.18) gets the start for the A’s on Sunday. He’s undefeated over his past four starts and his seven wins through May are the most since Mark Mulder won eight in 2003.

© Copyright 2016 The Associated Press. All Rights Reserved. This material may not be published, broadcast, rewritten or redistributed