In 828, Baldric was removed from Friuli for his failure to have mounted an effective defense against the Bulgars during their invasion of 827, and the dukedom was divided into four counties.[2] Eventually the counties would be united under a marchio (margrave), but the duchy would never be restored.