 In 772, he was summoned by Caliph al-Mansur to Baghdad and cast in prison.Released by Caliph al-Mahdi (775–785), Nerse was restored in Iberia in 775, but he again had difficulties with the Arabs, and was forced to flee, through the Daryal Pass, to the Khazars.Received with honors, but unable to gain any substantial support there, Nerse moved to Abkhazia where his family had taken refuge.