When did Muslims arrive in the UK?
The first large group of Muslims in Britain arrived about 300 years ago.
They were sailors recruited in India to work for the East India Company.
The next phase of Muslim immigration to Britain followed the opening of the Suez Canal in 1869.
Most of these immigrants came from Yemen.
The first mosque in Britain is believed to have been opened at 2 Glyn Rhondda Street, Cardiff, in 1860, although this is disputed.
The 1950s saw significant numbers of Muslims from the subcontinent arrive in the UK, prompted mainly by post-War labour shortages.
Others - such as Moroccan Muslims - have been present in significant numbers in England since the 1960s.
Algerian Muslims arrived more recently, as refugees and asylum seekers.
Many of Britain's Somalis fled violence in their homeland
Nigerian Muslims arrived in the 1950s and then again during the 1990s, mainly for economic reasons.
Relatively small numbers Egyptians and Saudi Arabians have been present in the UK for decades.
Those from Iraq and Afghanistan began arriving more recently, as a result of war and social breakdown.
Most of the UK's Muslims hail from Pakistani and Bangladeshi backgrounds.
Historically, Muslim migrants from Pakistan and Bangladesh as well as a smaller number of Indian Muslims settled in areas where manufacturing and textiles provided the main employment.
These communities made their home in London, the West Midlands, north-west England and Yorkshire, with smaller settlements in Scotland and Wales.
The Somali Muslim community - 100,000-strong, according to the 2011 census - forms Britain's largest refugee population.
Somalis arrived in the 19th Century, heading to port cities such as Cardiff.
But it is only in recent years that significant numbers have been coming to the UK.
Somalis are among the worst-educated groups in the country.
Poverty and unemployment are rife.
Language remains an issue in terms of opportunities.
The Turkish Muslim community numbers some 66,500, two-thirds of which is made up of Cypriots.
Turkish-speaking Muslims have also come to Britain from the war-torn Balkans.
Most live in the London area.
Nigerian Muslims are believed to make up about 10% of the total Nigerian population in the UK, although precise figures are hard to come by.
That's about 16,000 people. The majority are Yorubas from southern Nigeria, together with some Hausas from the north.