Moscow has urged both sides to halt cross-border attacks immediately and return to diplomatic negotiations. Russia, which earlier became the first country to officially recognise the Taliban government, maintains working relations with both Kabul and Islamabad.