Adam Jones hit a milestone home run, Welington Castillo had three hits and two RBIs and the Baltimore Orioles beat the Seattle Mariners 7-6 Monday night for their fifth straight victory.

Chris Davis doubled in the tiebreaking run in the seventh inning for the resurgent Orioles, who climbed over .500 (66-65) for the first time since June 11. Baltimore jumped past Seattle (66-66) to within 1 ½ games of idle Minnesota for the final AL wild-card spot.

Jones' solo home run in the fifth inning gave him 25 for an Orioles-record seventh consecutive season. He shared the mark of six with Cal Ripken Jr.

Ben Gamel homered and had a career-high five RBIs in Seattle's third straight defeat.

With the score tied at 6, Trey Mancini led off the Baltimore seventh with a single off Emilio Pagan (1-3) and Davis followed with a liner into the right-field corner.

Donnie Hart (2-0) pitched the seventh, Darren O'Day worked out of a jam in the eighth and Zach Britton got three outs for his 12th save - the first since his run of converting 60 in a row ended last week.

Seattle trailed 6-4 in the sixth before Chris Tillman issued successive one-out walks and Gamels smacked a two-run single off Mychal Givens.

Tillman gave up six runs, three hits and four walks - all of which turned into runs. A 16-game winner last year, Tillman is winless in 16 starts since May 7.

Mariners starter Marco Gonzales allowed five runs and eight hits in 3 1/3 innings. He left with the bases loaded in the fourth, but Christian Bergman kept Seattle within 5-4 by retiring Manny Machado and Jonathan Schoop on popups.