CLEVELAND (AP) - Former Minnesota Twins right-hander Anthony Swarzak has agreed to a minor league contract with the Cleveland Indians.

The 29-year-old free agent spent his third consecutive season with the Twins in 2014, going 3-2 with a 4.60 ERA in four starts and 46 relief appearances. He became a free agent in November when he refused an outright assignment to Triple-A Rochester of the International League.

Swarzak had been with the Twins his entire professional career after his second-round selection in the 2004 amateur draft. His 237 1-3 innings of relief are the second-most in the major leagues since 2012.

Swarzak's best season was 2013, when he was 3-2 with a 2.91 ERA in 48 games.

His agreement was announced Thursday.