The mosque was built by Bosniak members of the Austro-Hungarian army serving on the Isonzo (Soča) 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.
At the end of World War I, the Bosnian Muslim troops returned home and left the mosque untended. Italy, which subsequently occupied the area, demolished the decaying building some years later. The only surviving record of its existence are six photos preserved by local citizens.