The mosque, constructed by the French company Bouygues, was built in the home town of President Saparmurat Niyazov. It opened on October 22, 2004 and was built by Niyazov with a mausoleum in preparation for his death. Niyazov died two years later, and was buried in the mausoleum on December 24, 2006.