some cities and its urban institutions survived in italy during early middle ages