A judge’s admitted friendship with a former lawyer he was sentencing has led a federal appeals court to remove him from the case.

Western District of New York Judge John Elfvin had already sentenced Timothy Toohey on two occasions — only to have the 2nd U.S. Circuit Court of Appeals remand the case each time.