In the center of Bukhara, near ensemble Lyabi-Hauz is located Magoki-Attari mosque is located that in translation means «a mosque in a hole» or «a deep mosque». The mosque found its name several centuries ago. At that time cultural layers hid underground the most part of constructions, and parishioners had to go down in a semi-basement room.
In the early Middle Ages there, behind Aaron's southern gate, there was a cult pagan center with the temple of fire worshippers. When Arabs grasped Bukhara based one of the first mosques on a place of this temple.
In the middle of the XVI century, the east portal was erected, and the southern main entrance in a mosque was almost underground. In 1930 archeologists restored a monument, subsequently that the southern portal was restored. The southern portal of a mosque decorates an ornament of bricklaying and an archaic ornament of carved majolica. Restorers liberated a facade, it approximately went under the earth by 4.5 meters. Then the mosque was opened for observation main art sights.
There all variety of an architectural decor - carved bricks, figured layings from a polished brick, patterns and ornaments, terracotta plates. This portal of the XII century is considered as one of the most irreproachable works of Bukhara architecture.
In old times in Magoki-Attari mosque prayed Muslims and Jews as by that time Jews hadn't the right to construct a synagogue in Bukhara.
Today in Magoki-Attari is a museum of carpets.