In the 12th century Mitterburg Castle was in possession of the Lower Carniolan count Meinhard of Schwarzenburg, who held the office of a vogt of the Poreč bishops (in Latin documents he is known as "Cernogradus"), and established the Pazin County (earldom).