Eric Blankenstein, a top Consumer Financial Protection Bureau lawyer who came under fire last year over past writings that were viewed as racist, plans to step down at the end of the month, according to sources familiar with the matter.

A former associate at Williams & Connolly, Blankenstein joined the CFPB in late 2017 under the leadership of the agency’s Trump-appointed acting director, Mick Mulvaney, who has since become the interim White House chief of staff. As a senior adviser to Mulvaney, Blankenstein took a lead role reviewing the CFPB’s pending investigations and cases, presiding over a period in which the bureau ratcheted down its once-aggressive enforcement efforts.