President Donald Trump got into another testy exchange at a media event with CNN White House Correspondent Jim Acosta, with the former saying the network "ought to be ashamed" of itself.

During the news conference in New Delhi, India, CNN's Jim Acosta asked Trump whether or not he would commit to not taking foreign assistance in the upcoming presidential election.

"First off, I want no help from any country, and I haven't been given help from any country," Trump began. "If you see what CNN — your wonderful network — said I guess they apologized in a way, for — didn't they apologize for the fact that they said certain things that weren't true? What was their apology yesterday? What did they say?"

While Trump wasn't specific about which story he was asking about, he may have been referring to a CNN story from last week about a briefing reportedly made to lawmakers by a U.S. intelligence official that Russia was trying to help Trump. Those reported claims were later undercut by a report that the network published on Sunday that said that the official "appears to have overstated the intelligence community's formal assessment of Russian interference in the 2020 election."

"Mr. President, I think our record on delivering the truth is a lot better than yours sometimes, if you don't mind me saying," Acosta retorted.

"Let me tell you about your record," Trump shot back. "Your record is so bad you ought to be ashamed of yourself."

Over Acosta's rebuttal, Trump went on to say that "you have probably the worst record in the history of broadcasting."

CNN has been a repeated target of criticism from Trump during his presidency and candidacy, and the president has clashed with Acosta before. He has repeatedly told the reporter "you're fake news" on different occasions.

Last month, Trump told Acosta to be quiet after the reporter tried to interrupt him multiple times at a press briefing at the White House. In 2018, a federal judge ordered the White House to restore Acosta's press credentials after they were suspended as a result of Acosta not giving up a microphone at a White House news event.