Dvigrad (Due Castelli) is an abandoned medieval town in central Istria, Croatia. The prehistoric settlement remained inhabited until 1714 as the last residents left the town to ruin.