Ottoman wars in Europe
In the mid-12th century, Zavoglje belonged to the Counts of Spanheim. It is said that a fortified defensive encampment stood at the Jožefuc house () during the Ottoman wars in Europe. Some ornamentation and stone from the camp was later incorporated into the walls of the local church. The Jurjevec house next to the church was formerly a castle manor farm. Zavoglje was annexed by the City of Ljubljana in 1982, ending its existence as an independent settlement.