NEW YORK - (AP) - Chris Davis hit a go-ahead grand slam in the Orioles' seven-run second inning and Baltimore rallied from five runs down to beat the New York Yankees 11-5 on Tuesday night.

Nick Markakis had a two-run homer among his three hits for the Orioles, who have won four of their last six, but finished July 13-14, their first month below .500 all season.

Ivan Nova allowed a career-high nine runs in five innings for New York, which tied a season-worst skid with four straight losses and made some dubious history in the process. According to STATS, LLC, the Yankees haven't led by five or more after the first inning and then trailed after the second since at least 1918.

Nova (10-5) struck out five, allowed 10 hits and lost in consecutive starts for the first time in his career. He has one win in his last seven starts, and the Yankees are 14-7 in his games.