The first permanent mosque in the city of Ufa was erected in 1830 on Frolovskaya Street (later renamed Tukayev Street).[failed verification] Its construction was initiated by Gabdesallam Gabdrakhimov (1765-1840), the second mufti of the Orenburg Muslim Spiritual Assembly. A madrasah was opened in 1887. It was the only active mosque in the city between 1960 and 1994. The local imam Cihangir Abızgildin was arrested and executed by the NKVD in 1937.