According to the legend at the place of the present church stood a chapel from the 11th century, called "Maria in the thorn" ("Maria Dorn", "Maria Maria in spinis"). In 1352 it was first mentioned as a subsidiary church of St. Rupert, parish of Sv. Yuri in Ptuj.
More information: http://zupnija-rupert-slo-gorice.rkc.si/index.php/content/display/10/Cerkev%20sv.%20Ruperta/20