Apostles.
This building started life as the Church of the Apostle when it was built in 932-935 for King Abas of the Bagratid. It was turned into a mosque in 1579 when much of the city was rebuilt by the Ottomans. The Russians added the weird looking porches in the 19th century. On its drum are representations of the 12 apostles. I am not certain if it is still used as a mosque. When I visited in June 2006 the two people who opened the door when it was prayer time, reluctantly let me enter, then forbade me to take pictures (there is a rather nice piece of stonework that seems to indicate the original choir that I cannot show as a result), closed a window because it looked like rain, and then hurried me out of the building and themselves off to the nearby Ulu Mosque.
From the Enc. Britt.: Bagratid: princely and royal dynasty founded in Armenia and Georgia during the 9th century by the Bagratuni family. The Bagratid kings kept Armenia independent of both the Byzantine Empire and the Abbāsid Caliphate. The Bagratids of Ani bore the title of shahanshah (“king of kings”), which was first conferred by the caliph in 922 upon Ashot II the Iron. In 961 Mushegh, the brother of Ashot III, founded the Bagratid kingdom of Kars. By the 11th century, the combined invasions of the Seljuk Turks and Byzantine conquests in the west destroyed what remained of the Bagratids and the Armenian kingdom.