The mosque's name, Maghak-i 'Attari (Uzbek: Mag'oki Attori), means 'scented pit' in Farsi. The name is thought to refer to the structure's sunken plinth level, and to the aromatic herb markets that once assembled in its vicinity. It has functioned as a sacred or religious site over millennia. The present mosque was built in the early eighth century and rebuilt numerous times until the early twentieth century. The building is notable as the oldest extant mosque in Central Asia, and as one of the few pre-Mongol monuments in the region.
The mosque's origins, like many others in Bukhara, are mysterious and legend-laden. The site is now understood to have once formed the core of Bukhara's city center (Shahristan) in the early Sogdian era, or around 500 BC. The site was occupied in the fifth century by a Zoroastrian temple, which was replaced by a Buddhist temple. An important temple dedicated to Moh, the moon deity, and a market surrounding it stood there until a conflagration in 937. The sacred site was then used to house one of Bukhara's earliest mosques built following the Arab invasion in the early eighth century. A mosque known as 'Makh' or 'Mokh' is mentioned in tenth century literary records, however, nothing has remained from these earlier mosques. The southern portal, which is the oldest component of the present structure, can be traced to the Qarakhanid dynasty's extensive rebuilding in the twelfth century. A contemporary description of the mosque then, mentions it as a slightly elongated building with domes supported by round pillars, and with an attractive side portal. Comprehensive restoration carried out by Ashtrakhanid ruler Abdul Aziz Khan in 1546-7 constitutes most of the present mosque. He also built a new roof, and a new entrance to accommodate the rise in street levels. The last stage of building extended into the twentieth century, at which time the eastern portal was rebuilt, imitating brickwork of the Samanid mausoleum from the tenth century.
The Maghak-i 'Attari mosque lies to the south of Bukhara's Ark, on the commercial street connecting the Tak-i Telpak Furushon and Tak-i Sarrafon markets. The rise in street levels over the centuries forces a descent of approximately three meters to access the mosque. The structure is based on a rectangular plan built around six piers and roofed by two multifaceted domes raised on hexagonal drums. The southern and western plain brick facades have two elaborately decorated iwans; the southern portal contains a one of its kind pre-Mongol stalactite squinch. This portal has a recessed vault fringed with engaged columns decorated with carved terracotta panels and weaving, as well as floral motifs, inscriptions carved in stucco and blue glazed tile-work. Rectangular, inscriptive panels, in the manner of Mawara'u'n-nahr's famed wood carving tradition, frame the central arch. The figurative decorations of glazed and carved brick and the use of incised alabaster panels is exemplary of the craftsmanship of the Qarakhanid epoch.
The Maghak-i 'Attari mosque is one of the better-preserved and fully excavated structures in Bukhara. Russian archaeologist V.A Shishkin's unearthing of its buried southern portal in 1939 was followed by several restoration projects in the 1970s. Rebuilding its upper and side elements has since strengthened the ancient iwan. Paved terraces now descend to the sunken plinth level, giving access to a antiquities museum housed within the structure.
Azizkhodjayev, Alisher. Bukhara: An Oriental Gem, 85. Tashkent: Chief Editorial Office of Publishing & Printing, 1997.
Borodina, Iraida. Central Asia: Gems of 9th-19th century architecture, 98-99. Moscow: Planeta Publishers, 1987.
Prochazka, Amjad Bohumil. Bukhara: Architecture of the Islamic Cultural Sphere, 73. Zurich: MARP, 1993.