President Donald Trump on Saturday hit back at former President Jimmy Carter after Carter suggested Trump was an illegitimate president because of Russian interference in the 2016 election.

Carter on Friday told a panel event hosted by The Carter Center, his humanitarian nonprofit, that Trump “lost the election and was put into office because the Russians interfered on his behalf.”

Trump responded at a press conference at the G-20 summit in Osaka, Japan.

“Jimmy Carter, look, he’s a nice man, he was a terrible president,” said Trump.

“He’s a Democrat and it’s a typical talking point,” Trump added. “He’s loyal to the Democrats and I guess you should be, but as everybody now understands, I won not because of Russia, not because of anybody but myself.”

Check out the clip here: