 He made an alliance with Jesse, ruler of the neighboring Georgian kingdom of Kartli, and marched against Dagestan, but he suffered defeat and failed to prevent settlements of the Lesgians in the Kakhetian borderlands.In December 1719, he met Vakhtang VI of Kartli and negotiated a new alliance against the Dagestani clans.Early in 1720, reinforcements sent by Vakhtang under the command of Prince Erasti Kaplanishvili arrived in Kakheti, but David refrained from another expedition and sent the Kartlian army back home.