President-elect Donald Trump on Wednesday acknowledged for the first time that he thinks Russia was responsible for hacking the Democratic National Committee during the 2016 election.

“I think it was Russia,” Trump said. In the past Trump has said Russia could be responsible, as could other countries like China or individuals.

But Trump also said that the information the hacks revealed was worthwhile.

“If somebody said about me what Podesta said about Hillary … I would have fired him immediately,” Trump said, referring to Hillary Clinton and her campaign manager John Podesta.

Trump also repeated a false claim that the Republican National Committee was not hacked.

“The Democratic National Committee was totally open to be hacked. They did a very poor job. They could have had hacking defense, which we had,” Trump said. FBI Director James Comey testified before Congress on Tuesday that Russians gained “limited” access to the RNC. “When Reince saw what was happening in the world and in this country, he went out and went to various firms and ordered a very, very strong hacking defense,” Trump said.