At the summit of five-nation grouping of Brazil, Russia, India, China and South Africa (BRICS), chaired by Indian Prime Minister Narendra Modi, leaders called for settling Afghan situation by peaceful means.
The declaration at the summit said the leaders also sought an "inclusive intra-Afghan dialogue so as to ensure stability, civil peace, law and order", reports the NDTV.
While the theme for the summit is "cooperation for continuity, consolidation and consensus'', the focus remained on Afghanistan.
The five-nation grouping also underscored their "priority of fighting terrorism, including preventing attempts by terrorist organisations to use Afghan territory as terrorist sanctuary and to carry out attacks against other countries".
The declaration said they were "committed to combating terrorism... including cross-border movement of terrorists, and terrorism financing networks and safe havens".
The group has adopted a "counter terrorism action plan" and "we have to ensure that BRICS is more productive in next 15 years," Narendra Modi said in his address to the virtual summit of the group on Thursday.
Strong comments on the subject during the summit came from Russian President Vladimir Putin, who spoke of the possible threats an unstable Afghanistan might pose to neighbouring countries.
Afghanistan should not become a "threat to its neighbouring countries, a source of drug trafficking and terrorism". Its citizens, he said, "deserve to exercise their rights of defining of what their state will look like on their own". He also made it clear whom his country held responsible for this situation.
"US and its allies' withdrawal from Afghanistan has created a new crisis," he said. "Global security has faced serious challenges and system of strategic stability has gone downhill. Outstanding regional conflicts haven't stopped".
This situation, he said, "stems from irresponsible attempts to impose alien values... To build a so-called democracy without taking into account historic features and traditions that other people have followed. It results in destabilisation and chaos and after that, the authors of this left and entire international community will have to clear up this mess."