BALTIMORE (AP) — 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.

More From 1460 ESPN