The mosque was built by Bosniak 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. The building was mostly built of cut stone, with a carved wooden porch, a domed roof, and a square minaret, and was surrounded by a stone wall and gated iron fence. An area near the mosque was designated the Log pod Mangartom Military Cemetery, where fallen Austro-Hungarian soldiers of all faiths were buried.