First lines of treatment can include mass spectrum antibiotics or drainage of the bile duct that is infected followed by close monitoring.[7] Endoscopic surgery is favored over open procedures to reduce infection and quicker recovery times. If these fail a liver transplant may be necessary.