Turkey's President Tayyip Erdogan joined thousands of worshippers at Hagia Sophia on Friday for the first prayers there since he declared the monument, revered by Christians and Muslims for almost 1,500 years, a mosque once again.
Erdogan and his top ministers, wearing white facemasks as a precaution against COVID-19, knelt on blue carpets at the start of a ceremony which marks the return of Muslim worship to the ancient monument.
Earlier, crowds formed at checkpoints around the historic heart of Istanbul where massed police maintained security. Once through the checks, worshippers sat apart on prayer mats in secured areas outside the building in Sultanahmet Square.
"We are ending our 86 years of longing today," said one man Sait Colak, referring to the nearly nine decades since Hagia Sophia was declared a museum and ceased to be a place of worship. "Thanks to our president and the court decision, today we are going to have our Friday prayers in Hagia Sophia."
A top Turkish court announced this month it annulled Hagia Sophia's status as a museum. Erdogan immediately turned back into a mosque a building which was a Christian Byzantine cathedral for 900 years before being seized by Ottoman conquerors and serving as a mosque until 1934.
The president was set to attend Friday prayers shortly after 1 pm (1000 GMT) with several hundred invitees for the ceremony in the sixth-century building. A large screen and speakers were set up in the square to broadcast proceedings to the thousands gathered outside.
As crowds grew, leaving little space for social distancing, Istanbul Governor Ali Yerlikaya said authorities had stopped people entering the area due to concerns about the spread of the coronavirus. On Twitter he called for patience and said the mosque would be open for prayer until Saturday morning.
"God is greatest," chanted people in the square. Some slept after arriving overnight and others ate on the grass, shaded by trees from the hot sun. Some in the crowds held Turkish and Ottoman flags.
CHRISTIAN ICONS CONCEALED
During his 17-year rule, Erdogan has championed Islam and religious observance and backed efforts to restore Hagia Sophia's mosque status. He said Muslims should be able to pray there again and raised the issue - popular with many pious AKP-voting Turks - during local elections last year.
The conversion triggered fierce criticism from church leaders, who said the change to exclusively Muslim worship risked deepening religious divisions. Turkey says the site will remain open for visitors and its Christian artworks protected.
Erdogan has reshaped Turkey's modern republic, established nearly a century ago by the staunchly secularist Mustafa Kemal Ataturk, lifting a ban on Muslim headscarves in public, promoting religious education and taming Turkey's powerful military, once a bastion of Ataturk's secular values.
Inside Hagia Sophia, the Christian frescoes and the glittering mosaics adorning the cavernous dome and central hall will be concealed by white curtains during Muslim prayer times, but remain on display for the rest of the time.
On Friday morning, the interior echoed to the sound of Koranic recitations from white-robed clerics, sat on blue carpets freshly laid this week ahead of the prayers.