Mark Ellis drove in three runs, and the Los Angeles Dodgers beat erratic Jake Arrieta and the Baltimore Orioles 7-4 Sunday to snap a six-game losing streak.

Matt Kemp singled in the go-ahead run during a four-run fifth inning, and the Dodgers received a solid performance from their bullpen in the finale of the three-game interleague series.

Making his fourth start of the season, Arrieta (1-1) allowed only two singles in four-plus innings. But he walked five — three of whom scored — and hit a batter, who also came home.

Adam Jones homered for the Orioles and Chris Davis had three hits.