Tens of thousands of people from across Senegal converged on the capital Dakar on Friday for the inauguration of a huge mosque, claimed to be the largest in West Africa.
Muslim faithful arrived by bus, car or on foot in the poor district of Bopp, home to the new Massalikul Jinaan mosque, capable of hosting 30,000 worshippers.
The mosque has been built by the Mouride Brotherhood -- part of the Sufi strand of Islam that predominates in Senegal, a country with a long tradition of religious tolerance.
Huge traffic jams several kilometres (miles) long built up on highways leading to the site, where some people had starting camping out two days before the long-awaited ceremonies.
Work on the mosque began a decade ago on a swampy six-hectare (14-acre) area of land donated by the government of the 90-percent Muslim nation, and the inauguration has been preceded by an outpouring of national and religious fervour.
The mosque's name of Massalikul Jinaan ("The Paths to Paradise") comes from the title of a poem by Sheikh Ahmadou Bamba Mbacke, the 19th-century founder of the Brotherhood, who is revered by followers as a saint.
With a Carrara marble exterior and boasting five minarets -- the tallest 78 metres (255 feet) high -- the mosque has a capacity of 15,000 worshippers inside, and another 15,000 on an outside esplanade.
The lavish interiors include a gold-leaf dome, giant chandeliers and decorations hand drawn by Moroccan workmen. An Islamic institute, residence and museum are scheduled to be added in the future.
The builders say the mosque is the biggest in West Africa, although the edifice is dwarfed by mosques in the Arab world. In Morocco, the Hassan II mosque in Casablanca can accommodate 105,000 worshippers and has a minaret spiralling 210 metres.
The cost of more than 30 million euros ($33 million) came from private donations, while the government contributed lighting, sanitation and roadworks worth 10.5 million euros as well as the the land -- a sign of the Brotherhood's clout.
The group's leader, Mountakha Mbacke, received a stream of religious, traditional and political leaders in the runup to the inauguration, and the ceremonies were to be attended by President Macky Sall.
The Mourides are one of four important Sufi brotherhoods followed by Senegal's Muslims, who overwhelmingly practise a moderate version of Islam while following the teachings of local spiritual guides.