BALTIMORE -- Chris Tillman pitched into the eighth inning and Nick Markakis had three hits as the Baltimore Orioles beat the Yankees 4-2 Monday night in the opener of a four-game series between American League wild-card contenders.
Tillman (16-5) tied a career high with nine strikeouts and Markakis drove in a run and scored another for Baltimore (77-66), which has won four of five.
The Orioles gained a half-game on idle Tampa Bay, which now leads Baltimore by 1 1/2 games for the final AL wild-card spot.
Alex Rodriguez and Lyle Overbay homered for New York (76-68), which has lost four of five and fell three games behind the Rays. The Yankees have lost six straight at Camden Yards.
Tillman, who came in with a 7.34 career earned run average in nine starts against New York, allowed two runs, four hits and didn't walk a batter. He's the first Oriole pitcher to reach 16 wins since Mike Mussina won 18 in 1999.
After a Brett Gardner single in the third, Tillman retired 14 straight Yankees before Overbay homered leading off the eighth, at which point he was relieved by Tommy Hunter.
Hunter struck out the side in the eighth and Jim Johnson pitched the ninth for his 43rd save.
Yankee starter CC Sabathia (13-12) pitched 7 1/3 innings, allowing four runs -- three earned -- on seven hits. He struck out six and walked two. His 12 losses are a career high.
The Orioles broke a 1-1 tie in the fifth when J.J. Hardy led off with a double. Michael Morse grounded to Rodriguez and Hardy took off for third when Rodriguez threw to first, beating the return throw.
He then scored on sacrifice fly by Matt Wieters.
Alexi Casilla followed with a single, stole second and scored on a single up the middle by Markakis to make it 3-1
They Yankees opened the scoring in the top of the first and Baltimore responded in the bottom half.
Rodriguez, inserted into the two spot with Derek Jeter out of the lineup, lined a 2-2 Tillman pitch into the right-center field seats for a solo homer.
Markakis, a year and a day since a Sabathia pitch broke his left thumb and ended his 2012 season, led off with a ground-rule double. He was bunted to third by Manny Machado and scored on an Adam Jones sacrifice fly to center.
Between the first and second innings, managers Buck Showalter and Joe Girardi appeared to be yelling at each other from the dugouts and ultimately had to be restrained by umpires behind home plate. Neither was ejected.
NOTES: It was Rodriguez' first time hitting second since August, 2006. ... Jeter missed his second straight game with a sore left ankle. ... The Yankees reinstated OF Zoilo Almonte (sprained left ankle) from the disabled list. ... Orioles 2B Brian Roberts was given the night off and Casilla (16-for-31 in his career against Sabathia) got the start. ... Yankees RHP Ivan Nova (8-4, 3.02) pitches Tuesday against RHP Miguel Gonzalez (9-7, 3.98).