PIERRE, S.D. (AP) _ Conservative commentator Patrick Buchanan lost a court bid Thursday to get his name added to South Dakota's Feb. 25 presidential primary ballot.

Circuit Judge James Anderson said the state Republican Party's process for determining which candidates get on the ballot was reasonable. The ballots, which already have been printed, list only delegates for President Bush and a partial slate of uncommitted delegates.

State Republican Party Chairman Don Peterson refused to certify Buchanan for a spot on the ballot because he said Buchanan did not get enough support at county delegate-selection caucuses last month.

Buchanan argued the South Dakota GOP process was unfair because it started so early that Buchanan, who announced his candidacy last month, had no chance to get on the ballot.

Peterson said Buchanan could gain some delegates from South Dakota if he persuaded members of the uncommitted slate to support him.

The Buchanan campaign was considering whether to appeal the case to the South Dakota Supreme Court, said Pierre lawyer Jim Robbenolt.

''The state Republican Party bylaws ... are patently thwarting the real will of the people of this state, specifically the people who would want to vote for Pat Buchanan in the presidential primary,'' Robbenolt said.