[1] It was the first mosque to be purpose-built until 2013 in Slovenian territory, although one converted out of a pre-existing building has functioned in the town of Jesenice since 1989.
The mosque was built by Bosnian Muslim members of the Austro-Hungarian army serving on the Isonzo Front of World War I.
For their religious needs, the military authorities permitted them to erect a small mosque in November 1916 at the foot of the eastern Alps.
An area near the mosque was designated the Log pod Mangartom Military Cemetery, where fallen Austro-Hungarian soldiers of all faiths were buried.
At the end of World War I, the Bosnian Muslim troops returned home and left the mosque untended.