Gastroenterology and hepatology

A patient with gallstone pancreatitis remains febrile and jaundiced, and imaging shows a persistently obstructed common bile duct. Which intervention is most appropriate because it addresses the ongoing biliary obstruction?