WASHINGTON - The government ethics director who prodded President Donald Trump's administration over conflicts of interest is resigning to take a new job.

Walter Shaub has been director of the Office of Government Ethics. He is joining the Campaign Legal Center, a non-profit in Washington that mostly focuses on violations of campaign finance law.

Shaub and the Campaign Legal Center posted the news on their Twitter accounts, and Shaub confirmed his move to The Associated Press.

He says he will continue working on government ethics issues and will push for ways to strengthen a program that is designed to help thousands of executive branch employees avoid conflicts of interest.

Shaub is a career OGE employee who was appointed director by President Barack Obama. His term was set to expire next year.