An appeal to reverse a planning decision over a mosque in Lincoln has been rejected by the government.
Lincoln City Council turned down proposals by the Islamic Association of Lincoln for a new two-storey building in Boultham Park Road in November 2009.
The plans were for the site of the former St Matthew's Church, which was destroyed by fire in 2008.
In a report a government planning inspector said the mosque would cause traffic problems.
The inspector did say he had "considerable sympathy with the problems and aspirations of the Islamic Association" but the site was not suitable.
The association currently worships in temporary facilities on Carholme Road but has been looking for a permanent location for five years.
It had originally planned to convert the redundant St Matthew's Church on the site before it burnt down.
The proposed purpose-built mosque would have held 500 worshippers.