WASHINGTON — A senior adviser to Hillary Clinton’s 2008 presidential campaign who was accused of repeatedly sexually harassing a young subordinate was kept on the campaign at Mrs. Clinton’s request, according to four people familiar with what took place.

Mrs. Clinton’s campaign manager at the time recommended that she fire the adviser, Burns Strider. But Mrs. Clinton did not. Instead, Mr. Strider was docked several weeks of pay and ordered to undergo counseling, and the young woman was moved to a new job.

Mr. Strider, who was Mrs. Clinton’s faith adviser, was a founder of the American Values Network and sent the candidate scripture readings every morning for months during the campaign, was hired five years later to lead an independent group that supported Mrs. Clinton’s 2016 candidacy, Correct the Record, which was created by a close Clinton ally, David Brock.

He was fired after several months for workplace issues, including allegations that he harassed a young female aide, according to three people close to Correct the Record’s management.