Completed in 1998, the mosque is a gift from the Turkish people to the Turkmen people.
Both peoples trace their ancestry back to Oghuz Khan and have been friendly since Turkmenistan's independence.
The mosque is a copy of the Blue Mosque in Istanbul, with one difference:
The Blue Mosque in Istanbul has six minarets, while the Ertogul Mosque has only four.
The mosque was built in the Ottoman style, and colorful stained-glass windows adorn the facades.
The minarets are 63 meters high, representing the years of Muhammad's life.
The 40-meter-high dome symbolizes the age at which Muhammad withdrew to a cave in Mount Hira and, over the many years that followed, received messages from God, delivered by the Archangel Gabriel.
In the middle of the large interior there is a replica of the Kaaba in Mecca and 5,000 prayer rugs lie on the floor.