The use of a side-viewing duodenoscope in ERCP or endoscopic retrograde cholangiopancreatography for biliary pancreatitis is shown. A wire-guided sphincterotome cuts the biliary sphincter with the use of electrocautery; this facilitates retrieval of a stone by sweeping the duct with a balloon.