The two men who have clashed in New Jersey's contentious Senate race do agree on something: President Donald Trump should scrap his potential executive order ending birthright citizenship for the offspring of non-citizens.

Both U.S. Sen. Bob Menendez (D-N.J.) and Bob Hugin, his Republican challenger in Tuesday's Senate election, came out in opposition of Trump's plan to end birthright citizenship, which is guaranteed under the U.S. Constitution.

"The Fourteenth Amendment to the United States is crystal clear: a child born in the United States is an American citizen. Simply put: to deny citizenship to someone born in the United States is unconstitutional," Menendez said in a statement.

"President Trump is trying to use immigration to scare people and distract them from the issues that affect American families every day like his sabotage of our health care system, and his prioritization of the economic needs of those at the top, instead of building an economy that works for all," Menendez added.

Hugin, who has tried to distance himself from Trump on certain issues, called for "compassionate" immigration reform in his denouncement of Trump's plan.

"The President is wrong to end #BirthrightCitizenship. I took an oath to defend the Constitution including the 14th Amendment," Hugin wrote on Twitter. "We're a nation of immigrants made better by the diversity of its people, especially in NJ. We need compassionate comprehensive immigration reform now."

Menendez, who has served in the Senate since 2006, leads Hugin in the polls by anywhere from five to nine points. However, the race was recently moved to a "toss up" by the Cook Political Report.

With one week to go before the midterm elections, U.S. Rep. Albio Sires (D-8th Dist.) called Trump's plan a "desperate attempt in the last week of the campaign."

"This is the president fear mongering. He's using it as a tool to put fear in the voters in this country, to stir up his base," said Sires, who is expected to cruise to victory in his election next week.

Trump told "Axios on HBO" he wants to end birthright citizenship for babies born to non-citizens and immigrants not authorized to be in the United States.

Scholars widely pan the idea that Trump could unilaterally change the rules on who is a citizen. It's highly questionable whether an act of Congress could do it, either, though it is conceivable that legislators could change the rules regarding children born in the U.S. of parents who are in the country illegally.

"He knows that that he can't do it," Sires said. "It won't be the first time he lies about anything. I just chock it up as another lie by the president."

On his "Ask the Governor" television show on News 12, Gov. Phil Murphy echoed both Menendez and Sires' comments and said the state would "fight it if we have to, tooth and nail."

"If you're born here, you're an American citizen. Period. Full stop," Murphy added. "This is not what an American president should be saying or doing."

The Associated Press and Brent Johnson of NJ Advance Media contributed to this report.