Get breaking news alerts and special reports. The news and stories that matter, delivered weekday mornings.

Former special counsel Robert Mueller testified Wednesday that he did not indict President Donald Trump on obstruction of justice charges because of Department of Justice guidelines barring a sitting president from being indicted — but later clarified his remarks.

The confusion came amid questioning from Democratic Rep. Ted Lieu of California during Mueller's testimony to the House Judiciary Committee.

Lieu recounted the three elements needed for the crime of obstruction of justice.

"I believe a reasonable person looking at these facts could conclude that all three elements of the crime of obstruction of justice have been met, and I'd like to ask you the reason, again, you did not indict Donald Trump is because of the OLC (the DOJ's Office of Legal Counsel) opinion stating that you cannot indict a sitting president, correct?" Lieu asked.

"That is correct," Mueller asked.

Former U.S. Attorney for the Southern District of New York Preet Bharara — an Obama appointee who was initially asked to stay on the job by Trump before the president changed his mind and fired him — tweeted the exchange was "very very close to Mueller saying that but for the OLC memo, Trump would have been indicted."

MSNBC legal analyst Ari Melber was less sure about the meaning of the exchange.

"Lieu's suggestion is along the lines that 'a crime was found but could not be charged.' But that’s not what the report says. So there may be further debate about what Mueller meant by his reply to Lieu," Melber wrote.

Let our news meet your inbox. The news and stories that matters, delivered weekday mornings. This site is protected by recaptcha

The former FBI director had said in his report he never reached a decision on whether Trump could or should be charged with obstruction because of the OLC guidance.

In Mueller's opening statement that came later before the House Intelligence Committee, the former special counsel said he wanted to "correct the record" on his exchange with Lieu.

"That's not the correct way to say it," Mueller said. "We did not reach a determination as to whether the president committed a crime."

That statement was more in line with his report, and with his earlier opening statement to the Judiciary Committee, where he said, "Based on Justice Department policy and principles of fairness, we decided we would not make a determination as to whether the President committed a crime. That was our decision then and it remains our decision today."

In early May, Attorney General William Barr testified before the Senate Judiciary Committee that Mueller "reiterated several times in a group meeting that he was not saying that but for the OLC opinion he would have found obstruction."

Earlier, during the Judiciary hearing, Republican Rep. Ken Buck of Colorado also asked Mueller about charging Trump.

"Was there sufficient evidence to convict President Trump or anyone else with obstruction of justice?" Buck asked.

"We did not make that calculation," Mueller said, citing the OLC opinion.

Buck later asked, "Could you charge a president with a crime after he left office?"

"Yes," Mueller replied.

"You believe that he committed — you could charge the President of the United States with obstruction of justice after he left office?" Buck continued.

"Yes," Mueller answered.

The back-and-forth added to the confusion and different analyses of Mueller's meaning, because it alternated between whether "a" president could be charged later or "the" president could be charged.

"OMG Buck just walked RIGHT into it. He seriously just gave the Democrats the clip they want. He just gave Mueller a clear and concise moment to say the only reason Trump wasn't indicted is because DOJ policy prohibited it," tweeted national security lawyer Bradley Moss.

Lawyer and former Fox News and MSNBC host Greta Van Susteren tweeted that she believed the answer was ambiguous.

"Is this answer clear? Does this mean that Mueller believes enough evidence to indict or does it mean that under no circumstances can a sitting president be indicted?" she asked.