Updated

MIAMI (AP) — Ryan Zimmerman homered twice and the Washington Nationals won their third straight game, beating the Florida Marlins 7-1 Friday night.

It was Zimmerman's first start since April 21 due to a hamstring injury, and he quickly made up for lost time, connecting both times on a full count against starter Ricky Nolasco.

Scott Olsen (2-1) pitched six scoreless innings, giving up five hits and striking out four. He got his first win in four starts against his former club since being acquired by Washington in November 2008.

Nolasco (2-1) gave up five runs on eight hits over a season-low four innings, while striking out seven.

The Nationals took a 2-0 lead in the first inning on Zimmerman's two-out solo shot to left.

Adam Dunn followed with a triple, then scored on Josh Willingham's single.

Zimmerman's second homer drove in Adam Kennedy, who led off the inning with a single, and made it 4-0.

It was Zimmerman's fifth career multihomer game. He finished 3 for 4, with a double and a walk.

The Marlins lost their third straight and fifth of their past six.

Nyjer Morgan hit an RBI double in the fourth and Jorge Cantu added an RBI single in the seventh.

The Nationals scored two runs in the ninth off reliever Renyel Pinto on RBI singles by Kennedy and Ivan Rodriguez.

Notes: The Nationals' 13-10 record is the club's best mark through the first 23 games of a season. ... Olsen has beaten every NL club except the Arizona Diamondbacks. ... Marlins OF Cody Ross returned to the lineup after missing two games with flulike symptoms. ... Nolasco is 7-2 against the Nationals. ... The announced an attendance of 1,665 dogs for the Marlins "Bark at the Park" night.