The parish church in the settlement is dedicated to Saint Margaret and was first mentioned in documents dating to 1118. It used to have a defensive wall around it to protect the population from Ottoman raids, but this was demolished in 1871. The church was damaged in the 1895 Ljubljana earthquake and was rebuilt in entirety from 1896 until 1900 upon the plans by the architect Raimund Jeblinger.