in 1067, the northern part of the kingdom was invaded by ulric i, margrave of carniola, who occupied a part of kvarner and the eastern coast of istria, the "march of dalmatia". as the king was at that time preoccupied with the liturgical issues and reforms in dalmatia, these parts were eventually liberated by his ban demetrius zvonimir.