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.
The excommunication led to a loss of patronage, which resulted in a rebellion after three years.