Sajid invasion of Georgia was the final attempt to establish Muslim hegemony in the South Caucasus before the Seljuk invasions. Yusuf Ibn Abi'l-Saj, a Sajid emir, whom Georgians knew as Abu l'Kasim, invaded Georgian lands in 914, with the purpose to strengthen gradually weakening Arab power and Muslim hold on Georgian principalities. He first reached Tbilisi, then turned towards Kakheti and besieged the fortresses of Ujarma and Botchorma. Later, he made peace with Kvirike, chorepiscopus (ruler) of Kakheti and returned control of Ujarma to him. After this, he marched his forces to Kartli and laid waste to it. Georgians themselves destroyed the fences of Uplistsikhe, so it wouldn't fall to the hands of the enemy. Perso-Arab forces raided Samtskhe-Javakheti as well, but were unable to take the Tmogvi fortress and retreated. On the way they besieged Q'ueli fortress and took it despite stiff resistance. Muslims captured the military commander of the castle, Gobron, and put him to death. He was later canonized by Georgian Orthodox Church. Despite his military successes Abu l'Kasim was unable to attain his goal. He was forced to finally retreat from Georgian lands because of stubborn resistance by people whose lands he was so eager to ravage and subject.