Russian president Vladimir Putin flies to Cairo for a two-day visit on Monday​, in a move nominally aimed at bolstering bilateral ties with Egypt that also allows both countries to send pointed messages to the U​S.

As Russian and western diplomats struggle to reach a peace deal over the conflict in Ukraine, Putin will spend Monday evening at Cairo’s opera house. In meetings on Tuesday, ​the day before the resumption of Ukraine peace talks, ​Putin is expected to hold discussions about ending the use of the US dollar in bilateral trade between Egypt and Russia. Collaboration between a Russian and Egyptian newspaper is also reported to be scheduled for discussion.

Analysts believe both sides, though interested in forming stronger relations, primarily seek to signal to the international community that their foreign policies are not to be dictated by others. In the middle of negotiations that have left him with few friends, Putin wants to show that he still has allies, said Ben Judah, a chronicler of Putin’s life, and the author of Fragile Empire, a book about Putin’s Russia.

“He’s making a show of highlighting how he’s not isolated,” said Judah, who noted how Putin has visited China and India when previously under pressure. “It’s also a way of undermining the US, since Cairo is piece of America’s imperium.