He was promptly excommunicated and, as the emperor supported Adrian's pontificate, lost the patronage of Louis. It was three years before he rebelled a second time, though.
He was removed from his position and subsequently lost the support of Louis due to the emperor's backing of Adrian's papacy. It took three years for him to rebel again.