(adds interview with Giuliani, legal analysis)

By Karen Freifeld

NEW YORK, June 4 (Reuters) - U.S. President Donald Trump on Monday said he had committed no wrongdoing but has the "absolute" power to pardon himself, echoing sweeping arguments put forth by his lawyer Rudy Giuliani on Sunday.

The remarks come as U.S. Special Counsel Robert Mueller's investigation into alleged Russian meddling in the 2016 U.S. election and possible illegal obstruction of that probe by the president has entered its second year.

Giuliani told Reuters on Sunday the president cannot be indicted or subpoenaed and has the power to pardon himself, leaving impeachment by the U.S. Congress likely the remedy for presidential misconduct.

"The constitution gave the president the right to pardon himself," Giuliani said, adding that Trump would not need to because "he didn't do anything wrong."

Trump said the same thing on Twitter on Monday, writing, "As has been stated by numerous legal scholars, I have the absolute right to PARDON myself, but why would I do that when I have done nothing wrong?"

In another tweet he called Mueller's appointment "totally UNCONSTITUTIONAL."

Trump has denied he colluded with Russians or obstructed justice and repeated in tweets on Monday his frequent claim that the Mueller investigation is a "witch hunt."

Russia has denied U.S. intelligence agencies' assessment that Moscow sought to interfere with the 2016 U.S. election to boost Trump's prospects of becoming president.

The Constitution is silent on the issue of whether the president's broad power to grant pardons extends to himself, and some lawyers say that supports Trump's position.

"If there are any limits on the power, it's got to be in the Constitution," said Samuel Morison, a former lawyer with Justice Department office that handles pardons. "It's nowhere in the Constitution."

But many legal experts disagree. Andrew Wright, a former associate counsel in the Obama White House, said allowing the president to pardon himself would be contrary to fundamental principles of the American legal system.

"One of the basic rules is that no man is a judge in his own case," said Wright, a professor at Savannah Law School.

"YOU'RE NOT A KING"

Trump's tweet on Monday triggered swift political criticism.

"You can't pardon yourself," Democratic U.S. Representative Ted Deutch said on Twitter. "Let me remind you of something, we don't live in a monarchy and you are not a king."

House Majority Leader Kevin McCarthy said on CNN on Sunday that he did not think a president should pardon himself.

Giuliani told Reuters on Sunday that a move by Trump to pardon himself would likely trigger political blowback leading to his impeachment.

The comments by Trump and Giuliani follow a report by the New York Times on Saturday of a confidential memo sent to Mueller in January. In that memo, Trump's lawyers argued the president could not have obstructed the investigation because, as the nation's chief law enforcement officer, he already has the power to terminate it.

Many legal experts say the president's actions could be considered obstruction if prosecutors can show he acted with "corrupt intent."

Mueller, who was appointed by Deputy Attorney General Rod Rosenstein in the wake of the May 2017 firing of FBI director James Comey, has so far secured five guilty pleas. Among those who have pleaded guilty are former Trump national security adviser Michael Flynn and Rick Gates, a longtime business partner of Paul Manafort, the former Trump campaign chairman who has been indicted in the investigation.

Mueller's team also has charged 13 Russians and three Russian companies.

The 20-page memo to Mueller came in response to repeated requests by the special counsel's office asking to interview Trump, according to the Times.

The memo asserted Mueller could not subpoena Trump to testify because it would interfere with "the president's prime function as the chief executive" and demean "the office of the president before the world."

Giuliani on Sunday told Reuters that "when you're interfering with the president, you're interfering with the country" and suggested the Mueller investigation already was affecting the president's important work, including a planned June 12 summit with North Korean leader Kim Jong Un.

"We couldn't have a better example than North Korea," said Giuliani. "Mueller is punching around with this ridiculous investigation and we've got nuclear nightmare possibilities or nuclear peace with North Korea."

Trump already has raised questions about his use of the presidential pardon power. Last week he pardoned Dinesh D'Souza, a conservative pundit convicted of campaign finance crimes, and last year he pardoned former Arizona sheriff Joe Arpaio, who campaigned for Trump before being convicted in a case regarding racial profiling. (Reporting by Karen Freifeld in New York and Jan Wolfe, Susan Heavey and Doina Chiacu in Washington Editing by Anthony Lin, Chizu Nomiyama and Bill Trott)

Our Standards: The Thomson Reuters Trust Principles.