Office of Government Ethics Director Walter Shaub Jr. announced his resignation on Thursday, effective later this month. He is planning to join the Campaign Legal Center, a nonprofit that works on voting rights and campaign finance issues. Shaub’s resignation marks the culmination of a months-long battle between the federal government’s top ethics official and President Donald Trump, who once promised to “drain the swamp” of corruption in Washington. Trump announced in January that he would give control of his business empire to his adult sons, becoming the first president in the modern era to refuse to divest or separate himself from holdings with potential conflicts. Shaub sharply criticized the plan for failing to meet the standard that “every president of the past four decades has met.”