 When the marzpan of Persarmania Varaztirots II Bagratuni was in the Byzantine imperial court in Osroene, he entered in a plot against emperor Heraclius organized by his illegitimate son John Athalarichos.David was also part of this plot.The attempt ultimately failed and Varaztirots was deported to an island near the coast of North Africa.