Enlarge By Alex Wong, Getty Images file Outgoing House Speaker Nancy Pelosi with Majority Leader Steny Hoyer, left, and Majority Whip James Clyburn in January. WASHINGTON (AP)  Democrats in the House of Representatives averted a messy leadership struggle Friday night, clearing the way for Speaker Nancy Pelosi to remain leader and preventing a battle between other leaders as the party becomes the minority. Rep. Steny Hoyer will become second in command of their new minority without a challenge from Rep. James Clyburn. Under an arrangement worked out in private, officials said Clyburn would instead receive a new position, title unknown and duties undescribed, explicitly labeled the third-ranking post in leadership. The maneuvering was described by Democratic officials after issued a vaguely worded statement saying she intends to nominate Clyburn to a new No. 3 post. The statement made no mention of Hoyer, and officials who filled in the details did so on condition of anonymity, saying they were not permitted to speak publicly about the matter. Pelosi is assured of remaining Democratic party leader when the new Congress convenes in January under a Republican majority. She has drawn no opposition for the post even though several members of the rank and file have said they would prefer she step aside after historic election losses. The Republicans gained at least 60 seats in midterm elections, more than enough to return to power after a four-year absence. A race between Hoyer and Clyburn for the post of party whip took shape in the days following the election and quickly took on racial overtones. Clyburn is the most powerful African-American in Congress, and he drew a formal endorsement from the Congressional Black Caucus. But he failed to generate enough additional support to overcome Hoyer's strength among liberals and conservatives alike, and it appeared his only options were to run against Hoyer and lose or else concede the obvious and step aside. "Over the past four years, Congressman Clyburn's effective leadership in the Whip's Office was crucial to our passage of historic legislation on jobs, health care, veterans and Wall Street reform on behalf of the American people," Pelosi said in her written statement. Clyburn's office declined to comment on the developments. The leadership posts will be filled formally next week during a closed-door meeting of the Democratic rank and file. Copyright 2010 The Associated Press. All rights reserved. This material may not be published, broadcast, rewritten or redistributed. Guidelines: You share in the USA TODAY community, so please keep your comments smart and civil. Don't attack other readers personally, and keep your language decent. Use the "Report Abuse" button to make a difference. You share in the USA TODAY community, so please keep your comments smart and civil. Don't attack other readers personally, and keep your language decent. Use the "Report Abuse" button to make a difference. Read more