NAIROBI, Kenya (AP) -- Police in Kenya lobbed tear gas Saturday on crowds supporting the prime minister as he filed a petition asking the Supreme Court to void the presidential election, a vote the prime minister says was neither free nor fair.
Prime Minister Raila Odinga's court filing comes a week after Kenya's election commission declared Uhuru Kenyatta -- the son of Kenya's founding father -- the winner of the country's March 4 vote. Kenyatta won by a hair, with 50.07 percent of the vote, breaking the 50 percent mark by about 8,000 votes out of 12.3 million cast.
Kenya's election has been largely peaceful, unlike the disputed 2007 vote that sparked two months of violence that killed more than 1,000 people.
But downtown Nairobi carried the scent of tear gas Saturday after police threw canisters at Odinga supporters who gathered despite warnings from police. An Associated Press reporter at the scene said the supporters were not demonstrating or being violent when the police lobbed the tear gas.
Later, police lobbed more tear gas at supporters gathered in front of the Supreme Court building.
"It's everyone's right to hold demonstrations, but police will stop demonstrations that may have ramifications on security," said police spokesman Masoud Mwinyi. "Police are taking precautionary measures to warn people to disperse, but if they don't we will use minimum force. Their presence can create unnecessary tension. Already we are seeing pockets of volatility."
Odinga wants Kenya to hold new elections. The petition filed Saturday asks the court to set aside the announcement by the election commission on March 9 that Kenyatta and his running mate William Ruto had won the presidency and deputy presidency. Odinga is being represented by a U.S. lawyer who formerly represented former President George W. Bush, said Eliud Owalo, Odinga's campaign manager.
The Supreme Court has two weeks to decide on the petitions.
Odinga came in second in the eight-candidate field with 43 percent of the vote. He had hoped to keep Kenyatta under the 50 percent mark and force a two-man runoff.
The Odinga petition says that the voter register was altered and "mysteriously grew overnight by a large proportion" on the eve of the election. Votes cast exceeded the number of registered voters in several locations, it said, adding that the change in the number of registered voters was to allow the election commission to manipulate the election results.
The petition said that the electronic voter ID and biometric voter registration systems were "so poorly selected, designed and implemented that they were destined to fail," which forced the election commission to revert to a "discredited manual system" that carried risks for abuse and manipulation.
The election commission "failed to establish systems which are accurate, secure, verifiable, accountable and/or transparent and indeed declared results which in many instances had no relation to votes cast at the polling station," the petition said.
If the court upholds Kenyatta's win, he will become the second sitting president in Africa to face charges at the International Criminal Court. He and Ruto both face charges related to having helped orchestrate the 2007-08 postelection violence. Both deny the charges. Ruto's trial begins in late May; Kenyatta's begins in July.
Kenyatta has promised to report to The Hague even if he wins the presidency.
Despite the second straight disputed presidential election, Kenya has for the most part remained at peace during the election period, though vicious online fights between supporters of Kenyatta and Odinga have broken out on Facebook and Twitter.
Odinga has asked for calm from his supporters during a week of news conferences in which his team has claimed the vote was rigged. He has said he will respect the Supreme Court's ruling.
One supporter said Saturday he hoped the court overturns Kenyatta's win.
"We have a lot of faith and confidence that the verdict will reflect the will of the people. Kenyans are not peaceful, they are only calm," said Warega Fredrick, pro-Odinga student who was outside the Supreme Court on Saturday.
Also on Saturday, civil society groups filed a petition with the Supreme Court asking that the election results be nullified on the basis that the election process was irrevocably flawed. The groups working under the name Kenya for Peace, Truth and Justice said the actions of the electoral commission threaten future elections.
The groups said the commission has not yet offered a credible explanation for all of the election's technical failures.
Election day did not go as planned. An electronic voter ID system intended to prevent fraud failed across the country for lack of electricity in some cases and overheating computers in others. Vote officials instead used manual voter rolls.
A study has a gloomy forecast for U.S. amphibians.
Clothes have a starring role at the Cannes Film Festival. (Photos)
Which big cat had some trouble coughing this up? (Photos)
Doctors saved this boy's life with a medical first involving a printer.