Perkins Coie’s Marc Elias, who has juggled legal roles for both the Hillary Clinton presidential campaign and the Democratic National Committee, saw the intersecting interests of both clients unexpectedly become public on Friday with the leak of thousands of DNC emails posted by Wikileaks.

The emails, including at least one authored by Elias, have roiled the Democratic Party nomination process because they indicate that some DNC officials tried to sabotage Bernie Sanders’ campaign. DNC chairman Debbie Wasserman Schultz resigned on Sunday over the controversy, and she was loudly heckled by Sanders supporters during an appearance on Monday at the Democratic National Convention in Philadelphia.