BOSTON (AP) — Boston's Chris Sale struck out eight over 4 2/3 innings in his final tuneup for an expected start in the AL Division Series opener before the Baltimore Orioles salvaged a split of the day-night doubleheader with a victory.

In the opener, Boston handed the Orioles a franchise-record 112th loss. A major league-best 107-52, Boston opens the Division Series at home Oct. 5 against the New York Yankees or Oakland.

Sale left after giving up Adam Jones' go-ahead, RBI double that made it 3-2 in the fifth. He threw 92 pitches, allowing three runs and four hits.

Trey Mancini had a tiebreaking two-run single off Matt Barnes (6-4) in a three-run seventh and drove in three runs. Tanner Scott (3-2) worked 2 2/3 innings of one-run relief, and Paul Fry pitched three hitless innings for his second save.

In the opener, J.D. Martinez had three of Boston's season-high 22 hits, including a three-run homer that brought his major league-leading RBIs total to 127. The Orioles (46-112) broke the franchise loss mark set by the 1939 St. Louis Browns went 43-111.

David Price (16-7) settled down after an early stumble in his final tuneup before the playoffs. He allowed three runs — all in the second inning — six hits and three walks, striking out six before leaving with a 10-3 lead after five. Price is expected to start Game 2 of the AL Division Series against the New York Yankees or Oakland.

Rafael Devers had four hits and six RBIs, including two homers, and Mookie Betts had two hits to raise his major league-best batting average to .346. Xander Bogaerts and Blake Swihart also homered for Boston.

Renato Nunez and Trey Mancini homered for Baltimore. Ryan Meisinger (2-1) was the loser.