Dvigrad was originally two towns, Moncastello and Castel Parentino. Dvigrad was first mentioned in 879, when it fell under the rule of the Patriarch of Aquileia. However, it had existed long before it as a part of the Roman province settlement. Its name speaks originally of two towns. Today's ruins are the remains of the northern town of Moncastello, while the other one, Castel Parentino, was abandoned in the 10th century.
Dvigrad fell under the rule of the Counts of Gorizia, it was destroyed by the Genoese fighting against the new owners, the Venice. Many lives and towns were lost in this war, which mainly took place in Istria. It is most likely that Parentino was abandoned at that time, and Montecastello was solely renovated. Following more than a century of peace, the second half of the 16th century was marked by a continuous conflict between Venice and Austria. This is the time of the plague epidemics, followed by the malaria.
In 1630, inhabitants had left the town and moved to Kanfanar. Only the poorest family remained in Dvigrad. It was noted that in 1650, the Bishop blessed only three families in Dvigrad. Some twenty years later, the Church of St. Sophia was also abandoned and the time has taken its toll. Current remains represent a well preserved, typical medieval town castle. It is encircled by the two rings of town walls connected by the town gate, of which there are three just as many as its defensive towers. The Church of St. Sophia still dominates the town. It is located on the highest point of town, on the same location from the Early Christian times. It current fascinating three-nave form was built in the 13th century. In front of this Romanesque style edifice there is the main town square and the town palace. Military quarters were located in the town's western part, while the craftsmen inhabited its southwest. The remaining, rather a large area, was occupied by houses for regular citizens.
References:The Church of St Donatus name refers to Donatus of Zadar, who began construction on this church in the 9th century and ended it on the northeastern part of the Roman forum. It is the largest Pre-Romanesque building in Croatia.
The beginning of the building of the church was placed to the second half of the 8th century, and it is supposed to have been completed in the 9th century. The Zadar bishop and diplomat Donat (8th and 9th centuries) is credited with the building of the church. He led the representations of the Dalmatian cities to Constantinople and Charles the Great, which is why this church bears slight resemblance to Charlemagne's court chapels, especially the one in Aachen, and also to the Basilica of San Vitale in Ravenna. It belongs to the Pre-Romanesque architectural period.
The circular church, formerly domed, is 27 m high and is characterised by simplicity and technical primitivism.