MINNEAPOLIS (AP) -- Kyle Gibson recovered from a rough start to throw seven innings, and Max Kepler homered in his second straight game to lead Minnesota past Baltimore 5-4 on Saturday.
Bobby Wilson went 2-for-3 with three RBIs for the Twins, who won their third in a row.
Gibson (3-6) allowed three runs in the first inning -- including a two-run homer by Chris Davis -- but only gave up two hits after that while striking out nine. It was Gibson's highest strikeout total since fanning 10 batters on April 26 against the New York Yankees.
Kepler's solo shot off Kevin Gausman sparked a three-run fifth that tied it. Wilson's two-run double off Miguel Castro (2-5) in the sixth gave Minnesota the lead for good.
The team with baseball's worst record, meanwhile, lost its fifth in the row.
Coming off his best start of the season against the L.A. Angels, Gausman had a 3-0 lead before ever taking the mound and looked sharp early. Gausman faced the minimum number of batters through the first three innings, and allowed a single hit through the first four.
But things turned quickly in the fifth. With one out, Kepler homered to left-center, Robbie Grossman doubled, and Jake Cave and Bobby Wilson followed with singles. After Joe Mauer walked, Cave scored on a wild pitch to tie the game.
Gausman, who held the Angels to one run and two hits without a walk in eight innings last Sunday, didn't return for the sixth.
Trevor Hildenberger worked a scoreless eighth for the Twins. Jace Peterson's RBI double off Fernando Rodney pulled the Orioles to 5-4, but Rodney got Tim Beckham on a grounder to short to convert his 19th save in 24 chances.
Orioles: OF Trey Mancini got a rare day off, but manager Buck Showalter said he was fine. The manager said it was more about getting Peterson a chance to play. Peterson went 1-for-3 on Saturday.
Davis' strikeout against Hildenberger in the eighth was the 1,306th of his career, moving him past Cal Ripken, Jr. for Baltimore's franchise record.
Orioles: Alex Cobb (2-10) takes the mound for Baltimore in the finale. He hasn't won since June 5 against the New York Mets.
Twins: Jake Odorizzi (3-6) makes his 19th start of the year as the Twins go for the sweep. His last outing against Baltimore was March 29, when he shut out the Orioles over six innings on two hits and two walks.