Russian President Vladimir Putin has sent a congratulatory Fourth of July message to President Obama and expressed confidence that their respective countries can work together on global issues including terror threats, according to news agencies.

"In his message of congratulations, the Russian President noted that, despite the differences between the two countries, Russian-American relations remain the most important factor of international stability and security," the Kremlin said in a statement, according to NBC.

The two countries, world powers and frequent rivals, have been at particular odds since the uprising in Ukraine that resulted in Russia last year annexing the country’s eastern Crimea region and continuing to provide military support to government-opposition forces.

The United States and Western allies have since imposed economic sanctions on Russia. However, both countries are working closely in a coalition of world powers, known as P5+1, in negotiations to keep Iran from creating a nuclear weapon.

Talks to reach a final deal have resumed this month in Vienna.

"Russian-American relations remain the most important factor of international stability and security,” Putin told Obama, according to CNN.

It is unclear exactly how and when Putin contacted Obama.

The two also spoke by phone last month. However, the recent and frequent exchanges should likely not be considered a significant breakthrough in post-Cold War negotiations, considering Putin purportedly made a similar effort last Fourth of July.

The White House said after the June 25 call that the conversation focused in part on the Ukraine situation and included discussions about the Iran nuclear negotiations, the need to stop the Islamic State terror group and developments in the Middle East including the “increasingly dangerous situation in Syria.”

“President Obama reiterated the need for Russia to fulfill its commitments under the Minsk agreements, including the removal of all Russian troops and equipment from Ukrainian territory,” the White House said.