A day that started with questions about Carolina coach Ron Rivera’s job security ended with a resounding victory that sent the Panthers into the bye week with a jolt of momentum.

Quarterback Cam Newton accounted for four touchdowns and the Panthers tied a franchise record with seven sacks in a 38-0 dismantling of the New York Giants on a sunny Sunday at Bank of America Stadium.

It was the largest margin of victory in the Panthers’ 19-year history and their first shutout since a 34-0 blanking of Kansas City in 2008 which had been their largest winning margin.

It was the Giants’ worst loss under coach Tom Coughlin.

The Panthers (1-2) are off until an Oct. 6 game at Arizona. The Giants fell to 0-3.

Rivera was emotional in the postgame news conference after what he called “a tough two weeks.”

He said that he and his assistants could have coached better in losses to Seattle and Buffalo but noted that his team’s effort never waned.

He said he thought the Panthers won Sunday’s game on Wednesday with a tough spirited practice.

While the defense had a shutout the offense contributed plenty after early-season struggles.

Newton threw touchdown passes of 16 and 20 yards to Brandon LaFell then hit a streaking Ted Ginn on a 47-yarder for the Panthers’ final score.

DeAngelo Williams ran for 120 yards on 23 carries.

With the Panthers missing five injured defensive backs including three starters the front four needed to get pressure on Eli Manning to help out the secondary.