AUSTIN, Texas – In a courtroom victory for Rep. Tom DeLay, the judge in the campaign-finance case against the former House Republican leader was removed yesterday because of his donations to Democratic candidates and causes.

A semiretired judge who was called in to hear the dispute, C.W. "Bud" Duncan, ruled in DeLay's favor without comment. Duncan ordered the appointment of a new judge to preside over the case.

The ruling came after a hearing in which DeLay's attorneys argued that state District Judge Bob Perkins' political donations created the appearance of bias.

Perkins, a Democrat, has contributed more than $5,000 since 2000 to candidates such as Sen. John Kerry, D-Mass., and the liberal advocacy group MoveOn.org.

"The public perception of Judge Perkins' activities shows him to be on opposite sides of the political fence than Tom DeLay," defense attorney Dick DeGuerin argued.

Perkins had declined to withdraw from the case, and prosecutor Rick Reed argued at the hearing that DeLay had to prove that a member of the public would have a "reasonable doubt that the judge is impartial" before Perkins could be removed.

"Judges are presumed to be impartial," Reed said.

Perkins did not attend the hearing and did not immediately return a call for comment.

DeLay had no comment as he left the courthouse.

Throughout the proceedings, he sat in the front row behind his attorneys with his wife and aides. He often smiled, and occasionally chuckled when Democrats said negative things about him in their testimony.

DeLay's lawyers are also seeking to have the trial moved out of Austin, citing the media attention and noting that Austin, widely perceived as a liberal college town, is "one of the last enclaves of the Democratic Party in Texas."

Judges are elected in Texas and are free to contribute to candidates and political parties.

DeLay's lawyers repeatedly said during the hearing that they were not accusing Perkins of doing anything wrong, but that there should not be a public perception of partiality in the case.

The issue came up for Perkins before. He had voluntarily stepped aside in a 1994 case against Republican Sen. Kay Bailey Hutchison. Perkins had made a $300 contribution to Hutchison's opponent. Hutchison, who was also represented by DeGuerin, was ultimately acquitted of misconduct charges.

DeLay was forced to step down as House majority leader after being charged with funneling corporate campaign contributions to GOP candidates for the Texas Legislature.

Texas law forbids the direct use of corporate money for campaigning.

DeLay's lawyers cited 34 contributions that Perkins has made to Democrats since 2000, including donations to Kerry and to MoveOn.org, a group that has waged a campaign against DeLay.

Perkins said his contributions to MoveOn.org were made before it launched its anti-DeLay campaign. Prosecutors also argued that six of the contributions were wrongly counted twice by DeLay's attorneys.

DeLay's lawyers had subpoenaed Perkins to testify, but Duncan did not make him take the stand. Perkins argued that his participation would threaten the public's confidence in the judiciary.