This handout image released by the Saudi Press Agency (SPA) shows prisoners arriving from Russia, at the airport of the Saudi capital Riyadh, on Sept 21, 2022. (SPA / HO / AFP)

RIYADH – Saudi Arabia has mediated the release of 10 foreigners who were caught fighting for Ukraine during its conflict with Russia, the Saudi Press Agency (SPA) reported Wednesday, citing the country's foreign ministry.

The 10 prisoners are Moroccan, Swedish, Croatian, British and US nationals, whom Saudi Arabia received from Russia, said the country's foreign ministry

The move came as part of a prisoner swap between Russia and Ukraine and in line with the humanitarian commitment of Saudi Crown Prince Mohammed bin Salman Al Saud to the ongoing Russia-Ukraine crisis, the ministry was quoted by SPA as saying.

READ MORE: Ukraine, Russia conduct first prisoner swap

The 10 prisoners are Moroccan, Swedish, Croatian, British and US nationals, whom the kingdom received from Russia, said the ministry.

Saudi Arabia is facilitating procedures for their safe return to their countries, it added.

ALSO READ: US, Russia swap prisoners Reed, Yaroshenko amid war tensions