MOSCOW — During a tense appearance with German Chancellor Angela Merkel, Russian President Vladimir Putin denied on Tuesday that Moscow ever interferes in elections in other countries.

Speaking during a joint news conference following talks at his Black Sea residence, Putin said accusations of meddling in the 2016 U.S. presidential election were "simply rumors" that are being used as part of the political fight in Washington. He also denied interfering in European elections.

U.S. intelligence agencies say they have definitive evidence that Russia was behind the hacking of Democratic email accounts, with the aim of benefiting Donald Trump's campaign and harming his Democratic opponent, Hillary Clinton.

Merkel said she was confident that Germany can weather any disinformation campaign targeting Germany's upcoming election. Asked about the threat during the news conference, she cited two recent incidents of what she described as "gross misinformation."

In one instance, Russian media and the foreign minister claimed that a 13-year-old girl of Russian origin had been kidnapped and raped by asylum-seekers in Berlin, and that German authorities were covering up the case. Police later determined the girl had made up the kidnapping, though a man in his 20s was charged with sexual abuse of a minor because she was below the age of consent.

Merkel said Germany would take "decisive measures" if it believed there was foreign meddling in the election, adding it was well-known that "hybrid warfare plays a role in Russia's military doctrine."

Merkel's visit to Sochi is her first trip to Russia in two years, as relations between the two countries remain strained in large part over the unresolved conflict in eastern Ukraine.

Merkel and Putin last met in Germany in October for talks aimed at reviving the stalled peace process. The peace deal brokered by Germany and France in 2015 has helped reduce the scale of the fighting between Russia-backed rebels and Ukrainian forces, but violence has continued and attempts to reach a political settlement have failed.

Merkel and Putin heatedly disagreed Tuesday on the cause of the conflict. Both, however, confirmed their support for the peace agreement negotiated in Minsk, Belarus.