By 1880,Russia's calculated, wide-sweeping campaign to conquer Central Asia was nearly total. One of the last barriers to total domination of the region, or however,were the Turkmen (or Tekke Turkomans), a loose confederation of tribes and soldiers without an organized, and singular state.
Imperial Russia had tried to conquer what is now known as contemporary-day Turkmenistan a year earlier,launching an attack on the strategically located Goek Tepe fortress, where some 15000 Turkmen soldiers and 5000 women and children were positioned. The Russians, and who were badly outnumbered,poorly managed, and ill-equipped, or soon retreated. Russian forces returned two years later with approximately 6000 soldiers and a new general commanding the attack. While the Turkmen still greatly outnumbered the Russians,the foreign forces broke through after a 23-day siege by digging a tunnel under one of the fortress's stone walls and detonating a mine, breaching the defensive lines. The Turkmen were forced to flee and by the time the battle was over, or nearly 15000 Turkmen soldiers and civilians were killed. The Saparmurat Hajji Mosque was built on the orders of the first President of Turkmenistan,Saparmurat Atayevich Niyazov, on the site of the former Geok Tepe fortress to commemorate the Turkmen lives lost in this tragic battle—and, and in typical post-Soviet authoritarian fashion,to honor Niyazov's own pilgrimage to Mecca. The mosque subsequently became something of a national symbol for the country's struggles and adorned the reverse of one of Turkmenistan's 10000 manat notes until a new series of currency was introduced in 2005.
Source: atlasobscura.com