Nesactium was an ancient fortified town and hill fort of the Histri tribe. In pre-Roman times, Nesactium, ruled by its legendary king Epulon, was the capital of the tribal population of the peninsula called Histri, who were also connected to the prehistoric Castellieri culture. Some theories state a later Celtic influence, but who they were and where they came from has never been discovered for certain. It is believed that their main economic activities were trade and piracy all over the ancient Mediterranean Sea.
In 177 BC, the town was conquered by the Romans and destroyed. Rebuilt upon the original Histrian pattern, it was a Roman town until 46–45 BC, when the Ancient Greek colony Polai was elevated to Pietas Iulia, today Pula. The town was located on the ancient road Via Flavia, which connected Trieste to Dalmatia. The area was abandoned by the Romans in the 6th century, following the Slav invasions.
At the end of the fourth century, the walls were renewed. Two churches were added, next to each other, between the bathhouse and the forum. The southern one, the largest, was probably dedicated to Mary and used for the daily ceremonies; the northern one was used for baptisms and religious ceremonies. There are traces of fire, which may have something to do with the Avar attacks on Histria in 600 and 611.
References:The first written record of church in Danmark locality date back to the year 1291. Close to the church are several stones with a Christian text and cross inscribed. The oldest parts of the present red-brick church are from the 1300s. In the late 1400s the church was enlarged to the appearance it has today. The church has been modified both internally and externally several times, among other things after the fires in 1699 and 1889. There are lot of well-preserved mural paintings in the walls.