Now playing
00:38
Trump in 2010 on Wikileaks: 'I think it's disgraceful'
LONDON, ENGLAND - MAY 19:  Julian Assange speaks to the media from the balcony of the Embassy Of Ecuador on May 19, 2017 in London, England.  Julian Assange, founder of the Wikileaks website that published US Government secrets, has been wanted in Sweden on charges of rape since 2012.  He sought asylum in the Ecuadorian Embassy in London and today police have said he will still face arrest if he leaves.  (Photo by Jack Taylor/Getty Images)
LONDON, ENGLAND - MAY 19: Julian Assange speaks to the media from the balcony of the Embassy Of Ecuador on May 19, 2017 in London, England. Julian Assange, founder of the Wikileaks website that published US Government secrets, has been wanted in Sweden on charges of rape since 2012. He sought asylum in the Ecuadorian Embassy in London and today police have said he will still face arrest if he leaves. (Photo by Jack Taylor/Getty Images)
PHOTO: Jack Taylor/Getty Images
Now playing
09:14
Exclusive: Assange turned embassy into command post in 2016
LONDON, ENGLAND - MAY 19:  Julian Assange speaks to the media from the balcony of the Embassy Of Ecuador on May 19, 2017 in London, England.  Julian Assange, founder of the Wikileaks website that published US Government secrets, has been wanted in Sweden on charges of rape since 2012.  He sought asylum in the Ecuadorian Embassy in London and today police have said he will still face arrest if he leaves.  (Photo by Jack Taylor/Getty Images)
LONDON, ENGLAND - MAY 19: Julian Assange speaks to the media from the balcony of the Embassy Of Ecuador on May 19, 2017 in London, England. Julian Assange, founder of the Wikileaks website that published US Government secrets, has been wanted in Sweden on charges of rape since 2012. He sought asylum in the Ecuadorian Embassy in London and today police have said he will still face arrest if he leaves. (Photo by Jack Taylor/Getty Images)
PHOTO: Jack Taylor/Getty Images
Now playing
00:59
WikiLeaks' Assange arrested on behalf of US
LONDON, ENGLAND - APRIL 11: Julian Assange gestures to the media from a police vehicle on his arrival at Westminster Magistrates court on April 11, 2019 in London, England.  After weeks of speculation Wikileaks founder Julian Assange was arrested by Scotland Yard Police Officers inside the Ecuadorian Embassy in Central London this morning. Ecuador
LONDON, ENGLAND - APRIL 11: Julian Assange gestures to the media from a police vehicle on his arrival at Westminster Magistrates court on April 11, 2019 in London, England. After weeks of speculation Wikileaks founder Julian Assange was arrested by Scotland Yard Police Officers inside the Ecuadorian Embassy in Central London this morning. Ecuador's President, Lenin Moreno, withdrew Assange's Asylum after seven years citing repeated violations to international conventions. (Photo by Jack Taylor/Getty Images)
PHOTO: Jack Taylor/Getty Images
Now playing
03:53
WikiLeaks editor-in-chief on Assange: Arrest is outrageous
LONDON, ENGLAND - MAY 19:  Julian Assange speaks to the media from the balcony of the Embassy Of Ecuador on May 19, 2017 in London, England.  Julian Assange, founder of the Wikileaks website that published US Government secrets, has been wanted in Sweden on charges of rape since 2012.  He sought asylum in the Ecuadorian Embassy in London and today police have said he will still face arrest if he leaves.  (Photo by Jack Taylor/Getty Images)
LONDON, ENGLAND - MAY 19: Julian Assange speaks to the media from the balcony of the Embassy Of Ecuador on May 19, 2017 in London, England. Julian Assange, founder of the Wikileaks website that published US Government secrets, has been wanted in Sweden on charges of rape since 2012. He sought asylum in the Ecuadorian Embassy in London and today police have said he will still face arrest if he leaves. (Photo by Jack Taylor/Getty Images)
PHOTO: Jack Taylor/Getty Images
Now playing
04:03
Julian Assange could be expelled from Ecuadorian Embassy
LONDON, ENGLAND - FEBRUARY 05:  Wikileaks founder Julian Assange speaks from the balcony of the Ecuadorian embassy where  he continues to seek asylum following an extradition request from Sweden in 2012, on February 5, 2016 in London, England. The United Nations Working Group on Arbitrary Detention has insisted that Mr Assange
LONDON, ENGLAND - FEBRUARY 05: Wikileaks founder Julian Assange speaks from the balcony of the Ecuadorian embassy where he continues to seek asylum following an extradition request from Sweden in 2012, on February 5, 2016 in London, England. The United Nations Working Group on Arbitrary Detention has insisted that Mr Assange's detention should be brought to an end. (Photo by Carl Court/Getty Images)
PHOTO: Carl Court/Getty Images
Now playing
01:39
Who is Julian Assange?
NEW YORK, NY - JANUARY 18:  Donald Trump Jr. arrives at Trump Tower on January 18, 2017 in New York City. President-elect Donald Trump is to be sworn in as the 45th President of the United States on January 20.  (Photo by John Moore/Getty Images)
NEW YORK, NY - JANUARY 18: Donald Trump Jr. arrives at Trump Tower on January 18, 2017 in New York City. President-elect Donald Trump is to be sworn in as the 45th President of the United States on January 20. (Photo by John Moore/Getty Images)
PHOTO: John Moore/Getty Images
Now playing
01:45
Atlantic: Trump Jr. messaged with WikiLeaks
julian assange incomunicado dentro embajada ecuador lkl claudia rebaza_00001030.jpg
julian assange incomunicado dentro embajada ecuador lkl claudia rebaza_00001030.jpg
Now playing
02:47
Julian Assange's refuge 'in jeopardy'
GOLDEN, CO - OCTOBER 29:  Republican presidential nominee Donald Trump addresses a campaign rally in the Rodeo Arena at the Jefferson County Fairgrounds October 29, 2016 in Golden, Colorado. The Federal Bureau of Investigation announced Friday it discovered emails pertinent to the closed investigation of Democratic presidential nominee Hillary Clinton
GOLDEN, CO - OCTOBER 29: Republican presidential nominee Donald Trump addresses a campaign rally in the Rodeo Arena at the Jefferson County Fairgrounds October 29, 2016 in Golden, Colorado. The Federal Bureau of Investigation announced Friday it discovered emails pertinent to the closed investigation of Democratic presidential nominee Hillary Clinton's private email server and are looking to see if they improperly contained classified information. Trump said "I think it's the biggest story since Watergate." (Photo by Chip Somodevilla/Getty Images)
PHOTO: Chip Somodevilla/Getty Images
Now playing
01:00
Trump was for leaks before he was President
Kushner Attorney
Kushner Attorney
PHOTO: CNN
Now playing
02:07
Kushner attorney: Senate panel playing 'games'
LONDON, ENGLAND - FEBRUARY 05:  Wikileaks founder Julian Assange speaks from the balcony of the Ecuadorian embassy where  he continues to seek asylum following an extradition request from Sweden in 2012, on February 5, 2016 in London, England. The United Nations Working Group on Arbitrary Detention has insisted that Mr Assange
LONDON, ENGLAND - FEBRUARY 05: Wikileaks founder Julian Assange speaks from the balcony of the Ecuadorian embassy where he continues to seek asylum following an extradition request from Sweden in 2012, on February 5, 2016 in London, England. The United Nations Working Group on Arbitrary Detention has insisted that Mr Assange's detention should be brought to an end. (Photo by Carl Court/Getty Images)
PHOTO: Carl Court/Getty Images
Now playing
02:36
WikiLeaks founder lashes out at the CIA
Jared Kushner
Jared Kushner
PHOTO: Drew Angerer/Getty Images North America/Getty Images
Now playing
01:49
Kushner testified he didn't recall WikiLeaks contact
White house press briefing spicer CIA systems Assange wolf_00000724.jpg
White house press briefing spicer CIA systems Assange wolf_00000724.jpg
PHOTO: CNN
Now playing
00:54
Spicer: CIA technology needs updating
A man crosses the Central Intelligence Agency (CIA) logo in the lobby of CIA Headquarters in Langley, Virginia, on August 14, 2008.
A man crosses the Central Intelligence Agency (CIA) logo in the lobby of CIA Headquarters in Langley, Virginia, on August 14, 2008.
PHOTO: SAUL LOEB/AFP/AFP/Getty Images
Now playing
02:40
Fallout from WikiLeaks' CIA disclosures
A man crosses the Central Intelligence Agency (CIA) logo in the lobby of CIA Headquarters in Langley, Virginia, on August 14, 2008.
A man crosses the Central Intelligence Agency (CIA) logo in the lobby of CIA Headquarters in Langley, Virginia, on August 14, 2008.
PHOTO: SAUL LOEB/AFP/AFP/Getty Images
Now playing
03:39
Federal probe launched to find leaker of CIA's hacking secrets
spicer 0308
spicer 0308
PHOTO: CNN
Now playing
01:36
Spicer: Difference in types of leaked info

Story highlights

Trump called WikiLeaks "disgraceful" and suggested there be a "death penalty" for their actions during a 2010 interview.

His 2010 comments are in sharp contrast to his decision Wednesday morning to invoke WikiLeaks founder Julian Assange.

(CNN) —  

Donald Trump called WikiLeaks “disgraceful” and suggested there be a “death penalty” for their actions during a 2010 interview.

Speaking on camera to preview Brian Kilmeade’s radio show, the Fox News anchor brought up the topic of WikiLeaks. At the time, WikiLeaks had published hundreds of thousands of classified documents and videos that were leaked to the organization by Pfc. Chelsea Manning, known at the time as Pfc. Bradley Manning.

“I think it’s disgraceful, I think there should be like death penalty or something,” Trump said during the quick exchange uncovered online by CNN’s KFile.

His 2010 comments are in sharp contrast to his decision Wednesday morning to invoke WikiLeaks founder Julian Assange, who claimed in a new Fox News interview that the Russian government was not the source of the hacks during the presidential campaign.

Following the interview, Trump tweeted: “Julian Assange said ‘a 14 year old could have hacked Podesta’ - why was DNC so careless? Also said Russians did not give him the info!”

The president-elect has repeatedly questioned the U.S. intelligence community’s assessment that Russia was the source of the hacks, which took place during the 2016 presidential campaign and targeted Hillary Clinton’s campaign chair John Podesta and the Democratic National Committee. During the campaign, Trump cited information released by WikiLeaks to attack Clinton and the DNC.

A Trump transition team spokesperson did not return a request to comment on the record for this story.

Watch the full clip here: