in 1156 the ani's christian population rose against the emir fakr al-din shaddad, a vassal of george iii, and turned the town over to his brother fadl ibn mahmud. but fadl, too, apparently could not satisfy the people of ani, and this time the town was offered to the george iii, who took advantage of this offer and subjugated ani, appointing his general ivane orbeli as its ruler in 1161. a coalition consisting of the ruler of ahlat, shah-armen sökmen ii, the ruler of diyarbekir, kotb ad-din il-ghazi, al-malik of erzerum, and others was formed as soon as the georgians seized the town, but the latter defeated the allies. he then marched against one of the members of the coalition, the king of erzerum, and in the same year, 1161, defeated and made him prisoner, but then released him for a large ransom. the capture of ani and the defeat of the saltukid-forces enabled the georgian king to march on dvin. the following year in august/september 1162, dvin was temporarily occupied and sacked, the non-christian population was pillaged and the georgian troops returned home loaded with booty. the king appointed ananiya, a member of the local feudal nobility to govern the town.