The first mosque buildings in Europe were built in the 18th century, but they were not "real" mosques, i. they did not serve the gathering of Muslims and Muslim prayer. Much older than the 1998-2003 erected Sehitlik Cami (mosque) at Columbia Dam in Berlin, which was built on the local, older Muslim cemetery, is the Ahmadiya Mosque in Wilmersdorf (Brenner Street) built in 1924, and inaugurated in 1928. https://video.tagesspiegel.de/alteste-moschee-deutschlands-wird-90.html The new mosque in Penzberg, as a very successful example, can be solved by the classical Ottoman models (architect Sinan) of the 16th century. Bavaria apply.