*Speaker Nancy Pelosi will create a new leadership post for Rep. Jim Clyburn as Democrats prepare to cede control of the House of Representatives to Republicans in January.

The move avoids a messy leadership struggle for House Democrats and clears the way for Maryland Rep. Steny Hoyer to become second in command of their new minority without a challenge from Rep. James Clyburn.

Clyburn, the current majority whip and the highest-ranking African American in Congress, and Majority Leader Steny Hoyer of Maryland were competing for minority whip, when the new legislative session starts in January.

Under an arrangement worked out in private, officials said late Friday that Clyburn would instead receive a new position explicitly labeled the third-ranking post in leadership . She detailed the compromise Saturday in a letter to other Democratic lawmakers.

“Should I receive the privilege of serving as House Democratic leader, I will be very honored to nominate our outstanding colleague, Congressman Jim Clyburn of South Carolina, to serve in the number three House Democratic position,” Pelosi said, adding that the new post would be called assistant leader.

Clyburn asked his Democratic peers to back the Pelosi deal in a letter of his own.

“The best way to resolve this issue, maintain diversity in the leadership and cohesion in our caucus is to pull up another chair to the leadership table with a substantive, well-defined portfolio that will contribute in a meaningful way to our important work and to regaining the majority,” he wrote.

Republicans reclaimed control of the House of Representatives in the Nov. 2 elections by gaining more than 60 House seats in the Nov. 2 elections, with a handful still too close to call.

House Republicans and Democrats will choose their leaders Wednesday in closed-door votes. Current Minority Leader John Boehner, an Ohio Republican, is running unopposed for speaker.

(L-R) Reps Steny Hoyer, Nancy Pelosi and James Clyburn

Meanwhile, the Hoyer-Clyburn contest for minority whip had taken on racial overtones in recent days. Thirty lawmakers, none of them black, released a letter of support for Hoyer. Rep. Barbara Lee, chairwoman of the Congressional Black Caucus, issued a statement backing Clyburn on behalf of the influential group.

The Rev. Al Sharpton and Black Entertainment Television founder Robert Johnson warned that dropping Clyburn from the House Democrats’ leadership ranks would offend African Americans, who are among the party’s most reliable voters.

While it isn’t clear what Clyburn’s new duties will be, he’s often spoken of his ability to bridge differences among House Democratic factions, including women, blacks, Hispanics and the moderate Blue Dogs.

“We must be able to connect and communicate with the significant African-American, Latino and Asian American communities in this country, most especially in marginal districts,” Clyburn said Saturday. “The road back to the majority runs largely through these caucuses and the communities they represent.”