SEATTLE (AP) — Dustin Ackley homered and drove in four runs and the Seattle Mariners averted a three-game sweep, beating the Washington Nationals 5-3 Sunday.

Bryce Harper homered twice for Washington and Nate Schierholz also connected. The NL East-leading Nationals homered 10 times in the series, one short of the Safeco Field record set by Cleveland in 2009.

The Mariners trailed 3-1 in the fifth when Ackley hit a three-run homer off Tanner Roark (12-9). It was his 11th homer this season.

Ackley also singled home a run, and tied his career high for RBIs in a game. He is hitting .319 with 19 extra-base hits since the All-Star break.

Hisashi Iwakuma (13-6) went six innings, allowing three runs and five hits. He struck out six and walked none.

Fernando Rodney gave up a leadoff single to Harper in the ninth before getting his 39th save in 42 chances.

More From 1460 ESPN