Sultan Sulaiman Mosque was given as a gift by the British Government to then-Sultan of Selangor,
Sultan Sulaiman Alaeddin Shah to commemorate the declaration of Klang as a royal town and to replace the old and unsafe Pengkalan Batu Mosque which was demolished during the construction of Klang train station. According to history, before the building of the mosque commenced, a groundbreaking,
qibla determination, and prayer ceremony was performed. This ceremony, attended by royalties, government officials, religious figures, architects and British officers, amongst others, was held in order to accurately pinpoint the position of qibla, or the direction towards the Kaaba in the Sacred Mosque in Mecca. The method used was through observing the shadows cast by vertical objects. The mosque was officiated on 23 June 1923 by the Sultan, during a ceremony attended by the public as well as some prominent guests including the Raja Muda of Selangor,
TS Adams (The British Resident of Selangor), L. Kesteven (the architect of the mosque), Raja Haji Othman (Chief Kadhi) besides various Malay chiefs, religious officers and European officials. During its opening, the mosque was reportedly the largest mosque in the then-
Federated Malay States. Originally, this mosque was known as Masjid Suleiman Jamiur Rahman and it served as Selangor's state mosque until the completion of
Sultan Salahuddin Abdul Aziz Mosque in
Shah Alam in 1988. The Sultan Sulaiman Mosque remained as the royal mosque. In May 2012, the mosque was declared a National Heritage Building under the National Heritage Act 2005 (Act 645). The building underwent a number of upgrades and renovations in 1933, 1949, 1953–54, 1958, 1966, 1968, 1970s, 1980s, 1990s and 2000s. Between March 2015 and October 2017, the mosque was closed to the public for restoration works that cost 12 million
ringgit and aimed to retain the original architecture and design of the mosque. The conservation project involved processes that included the cleaning of the mural surfaces, treatments to strengthen the murals and painting some parts of the mosque including in the main prayer room. == Royal Mausoleum ==