MINNEAPOLIS (AP) — Mike Pelfrey pitched eight strong innings, his longest outing in three years, and the Minnesota Twins avoided a series sweep by beating the Milwaukee Brewers 2-0 on Sunday.

Eddie Rosario and Eduardo Escobar had RBIs for the Twins, who otherwise struggled with runners on base. Glen Perkins worked a scoreless ninth for his major league-leading 21st save in as many chances.

Pelfrey (5-2) allowed eight hits and struck out seven. He has yielded only three earned runs over his last four starts, spanning 28 innings. This was his longest performance since April 21, 2012 — his last outing before Tommy John surgery.

Minnesota, which entered fourth in the majors with a .298 batting average with runners in scoring position, finished 2 for 12 in those situations after going 1 for 6 on Saturday.

Copyright 2015 The Associated Press. All rights reserved. This material may not be published, broadcast, rewritten or redistributed.

More From KSOO-AM / ESPN Sioux Falls