NEW YORK (AP) -- Prized Mets pitching prospect Noah Syndergaard earned his first major league win, the success tempered when he beaned Carlos Gomez with a 96 mph fastball, and New York beat the Milwaukee Brewers 5-1 Sunday.

New York Mets starting pitcher Noah Syndergaard throws during the first inning of a baseball game against the Milwaukee Brewers, Sunday, May 17, 2015, in New York. (AP Photo/Seth Wenig)

Syndergaard (1-1) shut down the Brewers for the first five innings in his Citi Field debut, giving up just one single. In the sixth, he gave everyone a scare.

After a leadoff single, Syndergaard hit Gomez squarely in the helmet. The two-time All-Star outfielder went face down in the dirt for a few seconds, and Syndergaard clapped into his glove when Gomez was helped into a sitting position by two Milwaukee trainers.

Gomez walked off the field with the trainers at his side and was replaced by a pinch runner.

Ryan Braun had an RBI single later in the inning. Syndergaard left after the sixth in his second game for the NL East leaders, having allowing three hits and striking out five.

Curtis Granderson hit a leadoff home run, Lucas Duda doubled twice and Michael Cuddyer drove in two runs to help the Mets win their second straight after a five-game skid.

Wily Peralta (1-5) had won all three of his previous three starts against the Mets. He quickly fell behind when Granderson connected on the second pitch for his 30th career leadoff homer.

A night earlier, Granderson singled during a 10-run burst in the fourth inning, and later homered to close out a 14-1 romp. Last-place Milwaukee has lost four of five.

Syndergaard actually pitched once before on the Citi Field mound, starting the 2013 All-Star Futures Game. Beaten by the Cubs at Wrigley Field five days earlier, he showed the home fans why the Mets are so high on him.

The 22-year-old Syndergaard came out zinging fastballs that topped out at 98 mph, and the pops from catcher Johnny Monell's mitt echoed all around the ballpark. At times, he brought back memories of another rookie righty from Texas who also wore No. 34 when he debuted for the Mets a long time ago - Nolan Ryan.

Syndergaard is currently taking the fifth spot in the rotation earlier held by Dillon Gee, who's on the disabled list. Mets manager Terry Collins has said the Mets will see how things shake out when Gee is ready to return.

TRAINER'S ROOM

Mets: 3B David Wright (hamstring) is set to begin baseball activities on Monday. ... Closer Bobby Parnell (Tommy John surgery) has a 12.71 ERA in six rehab appearances for Class A St. Lucie. He'll likely pitch at a higher level in his next outing, and Collins said Parnell would probably be in "different surroundings."

UP NEXT

Brewers: Milwaukee makes its first trip to Detroit since 2009. Mike Fiers (1-4) starts, trying to help the Brewers beat the Tigers for the first time since Ben Sheets was the winning pitcher in 2007.

Mets: Matt Harvey (5-1, 2.31) faces St. Louis righty John Lackey. The Cardinals are the only team to twice beat Harvey in the majors - he's 0-2 in two starts against them.

© 2015 The Associated Press. All rights reserved. This material may not be published, broadcast, rewritten or redistributed. Learn more about our Privacy Policy and Terms of Use.