PHILADELPHIA (AP) - Jerome Williams took a three-hitter into the eighth inning, Andres Blanco hit his first homer in three years, and the Philadelphia Phillies beat the Seattle Mariners 4-1 in an interleague game Monday night.

Making his second start since joining the Phillies, Williams (1-0) allowed one run and three hits in seven-plus innings.

Mariners rookie Roenis Elias (9-10) gave up one run and three hits in four innings. The left-hander constantly pitched out of jams because he walked six and hit one batter with a pitch.

Blanco connected for a three-run shot off reliever Dominic Leone in the fifth to give the Phillies a 4-0 lead. It was his first home run since July 1, 2011, for Texas against Florida.

The Phillies claimed Williams off waivers from Texas to fill a spot in the rotation after Roberto Hernandez was traded to the Los Angeles Dodgers. Williams was 2-5 with a 6.71 ERA for the Rangers and Houston this season. But he has a 2.19 ERA in 12 1-3 innings with Philadelphia.

Marlon Byrd's RBI double in the third gave the Phillies a 1-0 lead. Elias escaped further trouble by striking out Cody Asche with the bases loaded. Elias also left the bases full in the fourth by retiring Ryan Howard on a grounder.

Williams left after hitting Chris Taylor with a pitch leading off the eighth. Ken Giles entered and allowed an RBI double to Dustin Ackley with one out. Giles then struck out Robinson Cano and Kendrys Morales to leave runners on second and third.

Jonathan Papelbon pitched a scoreless ninth for his 29th save in 32 tries.

Seattle had won 12 of its previous 16 games. The Mariners fell into a tie with Detroit for the second wild-card spot in the AL. They're seeking their first postseason appearance since 2001.

The last-place Phillies, who are heading toward their second straight losing season, opened a nine-game homestand with just their third win in the last 10 games.

More From 1460 ESPN