Moscow (CNN) Russian President Vladimir Putin and U.S. President Barack Obama spoke on Wednesday, congratulating each other on reaching a nuclear agreement with Iran.

The Kremlin issued a statement following a telephone conversation between Putin and Obama, a call the White House also confirmed.

"Both sides stressed that the comprehensive agreement on the Iranian nuclear program meets the interests of the entire international community, helping strengthen the nuclear non-proliferation regime and decreasing tensions in the Middle East. In this respect, the presidents emphasized the role of Russian-U.S. dialogue in ensuring security and stability in the world," according to the statement.

Putin and Obama "expressed a mutual intention to continue joint work in the interest of sustainable implementation of the Vienna agreements, as well as certain other current international matters, including countering international terrorism," according to the Kremlin statement.

Read More