Baiturrahman Grand Mosque is a Mosque located in the center of Banda Aceh city, Aceh Province, Indonesia.
 The Baiturrahman Grand Mosque is a symbol of religion, culture, spirit, strength, struggle and nationalism of Acehnese people.
 The mosque is a landmark of Banda Aceh and has survived the 2004 Indian Ocean tsunami.
The Grand Mosque of Colombo is a Mosque located in Colombo, Sri Lanka.
 the structure has existed since the time of ancient Sinhalese Kings, and has experienced Portuguese, Dutch, and British rule.
 The Mosque was rebuilt and enlargened during the time Ceylon was under British rule.
 "When the re-building of the Mosque was completed, the then British Governor of Ceylon, Lieut. General Sir Edward Barnes, GCB, visited the Mosque in 1826 and highly commended Muhammad Balangkaya on the excellence of his work."
The Great Mosque of Algiers (Arabic: الجامع الكبير‎ ‎ , "Jemaa Kebir") or “Djama’a al-Kebir” (meaning Great Mosque) is a mosque in Algiers, Algeria, located very close to Algiers Harbor.
 An inscription on the minbar (منبر) or the pulpit testifies to fact that the mosque was built in 1097.
 It is also known by several other names such as Grand Mosque d'Alger, Djamaa al-Kebir, El Kebir Mosque and Jami Masjid.
 It is one of the few remaining examples of Almoravid architecture.
 It is the oldest mosque in Algiers and is said to be the oldest mosque in Algeria after Sidi Okba Mosque.
 It was built under sultan Ali ibn Yusuf.
 Its minaret dates from 1332 (1324 in some sources) and was built by the Ziyyanid Sultan of Tlemcen.
 The gallery at the outside of the mosque was built in 1840.
 Its construction was a consequence of a complete reconstruction of the street by the French.
Makhachkala (Russian: Махачкала ; ] ; Kumyk: Анжи-кала ; Lak: Гьанжи; Avar: МахӀачхъала; Lezgian: Магьачкъала; Rutul: МахаӀчкала) is the capital city of the Republic of Dagestan, Russia.
 It is located on the western shore of the Caspian Sea and is home to the Makhachkala Grand Mosque, one of Russia’s largest.
 As of the 2010 Census, the city had a population of 572,076, making it the largest in the North Caucasus Federal District.
 The city has an ethnic plurality, with the Avars and Laks being the largest groups.
The Alaaddin Mosque or Yivli Minare Mosque (literally: "Fluted Minaret" Mosque), commonly also called Ulu Mosque (Turkish: "Ulu Cami" , "Grand Mosque") in Antalya is a historical mosque built by the Anatolian Seljuk Sultan Alaaddin Keykubad I.
 It is part of a külliye (complex of structures) which includes the Gıyaseddin Keyhüsrev Medrese, Seljuk and Dervish lodge, and the vaults of Zincirkıran and Nigar Hatun.
 The mosque is located in Kaleiçi (the old town centre) along Cumhuriyet Caddesi, next to Kalekapısı Meydanı.
 The mosque's fluted minaret called the Yivli Minare, which is decorated with dark blue tiles, is a landmark and symbol of the city.
Baiturrahim Mosque is a mosque located in Ulee Lheue, Meuraksa sub-district, Aceh Province, Indonesia.
 As a legacy of the Sultan of Aceh in the 17th Century, it is one of the historical mosques in Indonesia.
 Back then the mosque was named Jami Ulee Lheu Mosque.
 In 1873, when the Baiturrahman Grand Mosque was burned by the Dutch, all the worshipers held a Friday prayer at Ulee Lheue.
 Since then the name of the mosque became Baiturrahim Mosque.
The Great Mosque of Palembang (Indonesian Masjid Agung Palembang), also known as Sultan Mahmud Badaruddin I Great Mosque after the former Sultan of Palembang, is the main mosque of Palembang, the capital of South Sumatra.
 The mosque is the largest in South Sumatra, and the third largest mosque in Sumatra after the Grand Mosque of West Sumatra and Great Mosque of Pekanbaru.
Grand Mosque of West Sumatra (Indonesian Masjid Raya Sumatera Barat) is a mosque in Padang, Indonesia.
 As of 2015, the mosque is still under construction.
 At its completion, it will become the largest mosque in West Sumatra, and the second largest mosque in Sumatra.
 It is located in Padang Utara Subdistrict, Padang, West Sumatra.
 The Grand Mosque of West Sumatra is located within a complex of 40,343 square meter on the intersection of Jalan Khatib Sulaiman and Jalan Ahmad Dahlan.
The Sultan Ahmed Mosque or Sultan Ahmet Mosque (Turkish: "Sultan Ahmet Camii" ) is a historic mosque located in Istanbul, Turkey.
 A popular tourist site, the Sultan Ahmed Mosque continues to function as a mosque today; men still kneel in prayer on the mosque's lush red carpet after the call to prayer.
 The Blue Mosque, as it is popularly known, was constructed between 1609 and 1616 during the rule of Ahmed I.
 Its Külliye contains Ahmed's tomb, a madrasah and a hospice.
 Hand-painted blue tiles adorn the mosque’s interior walls, and at night the mosque is bathed in blue as lights frame the mosque’s five main domes, six minarets and eight secondary domes.
 It sits next to the Hagia Sophia, another popular tourist site.
The Grand Mosque in Makhachkala ("Yusuf Bei Cami") is the main mosque of the Republic of Dagestan.
 It is supposed to have been patterned after the Sultan Ahmed Mosque in Istanbul.
 The building can accommodate up to 17,000 worshipers.
 Its construction was financed by Turkey.
 The mosque was completed and consecrated in 1998.
 It is the focal point of the city's main thoroughfare, Imam Shamil Avenue.

Question: The Grand Mosque in Makhachkala was pattrened after a mosque constructed during the rule of?
Answer: Ahmed I