In late autumn 1386, a huge army of Timur attacked Georgia. Timur officially proclaimed his invasions to be jihad against the region's non-Muslims. Tbilisi was besieged and taken on 22 November 1386, after a fierce fight. The city was pillaged and Bagrat V and his family were imprisoned. Taking advantage of this disaster, the royal vassal Duke Alexander of Imereti proclaimed himself an independent ruler and was crowned king of Imereti at the Gelati Monastery in 1387.