KUALA LUMPUR, Malaysia (AP) -- Police fired tear gas and detained hundreds of activists as more than 20,000 demonstrators massed Saturday across Malaysia's main city demanding electoral reforms in the country's biggest political rally in years.
The opposition-backed rally was the culmination of weeks of intense pressure on Prime Minister Najib Razak's long-ruling coalition to make election laws fairer and more transparent ahead of national polls widely expected by mid-2012.
Demonstrators marched in defiance of Najib's administration, which declared the rally illegal and warned people repeatedly to avoid it. Officials insisted it was merely an opposition attempt to trigger chaos and stir anti-government sentiment, while activists accused authorities of being afraid of any large display of dissent that could undermine their authority.
Authorities took extraordinary security measures to deter Saturday's rally by sealing off roads, closing train stations and deploying trucks with water cannons near the Independence Stadium in downtown Kuala Lumpur where activists sought to gather.
Police said in a statement that they detained 1,667 people in a clampdown called "Operation Erase Bersih," referring to the Bersih coalition of civic groups that organized the rally. Those arrested included several senior opposition officials. Some were released after several hours, with police indicating that most would not be held overnight.
Thousands tried to reach the stadium from various parts of Kuala Lumpur, chanting "Long live the people" and carrying yellow balloons and flowers as they marched.
Police fired numerous rounds of tear gas and chemical-laced water in repeated attempts to disperse the crowds, causing demonstrators to scatter into nearby buildings and alleys before they regrouped. Police helicopters flew overhead as a brief downpour failed to deter the protesters.
The demonstrators dispersed after a five-hour standoff with police. Only several hundred reached the stadium.
Najib insisted Saturday the protesters only represent a minority, and that most Malaysians support his administration.
"If there are people who want to hold the illegal rally, there are even more who are against their plan," the prime minister was quoted as saying by the national news agency, Bernama.
Witnesses said riot police armed with batons charged at some protesters and dragged them into trucks. Some were seen bleeding, but police could not confirm any injuries.
Anwar Ibrahim, Malaysia's top opposition figure, said on Twitter that he sustained a "minor injury" when his group was hit by tear gas. The Malaysiakini news website said he had a knee injury.
The crackdown "stirred a sense of outrage against the exhibition of raw power by our government," Bersih coalition leader Ambiga Sreenavasan told reporters.
"What is the necessity for a show of might against right? No matter what, right will always prevail," she said, minutes before police detained her and other Bersih officials as they walked to the stadium.
Organizers said 50,000 took part in the rally, but police claimed there were only up to 6,000. Other observers and participants said the total was between 20,000 and 30,000, noting that it was highly unlikely that police could have arrested a quarter of the demonstrators. An accurate count was impossible because they were scattered in various areas.
Organizers said 50,000 took part in the rally, but police claimed there were only up to 6,000. Other observers and participants said the total was more likely between 20,000 and 30,000, but an accurate count was impossible because they were scattered in various areas.
The rally has galvanized the opposition and has been credited for a surge in political awareness among the public in recent weeks.
Opposition leaders accuse Najib's National Front coalition of relying on fraud to preserve its 54-year grip on power, which has been eroded in recent years amid mounting complaints about corruption and racial discrimination. The government insists the current electoral policies are evenhanded.
The activists' demands include an overhaul of voter registration lists, tougher measures to curb fraud and fairer opportunities for opposition politicians to campaign in government-linked media. The National Front's mandate expires in mid-2013 but many analysts expect elections to be called by next year.
Supporters of the Bersih coalition were also planning solidarity marches over the weekend in foreign cities, including in Australia, Britain, France, Hong Kong, Indonesia, Japan, the Philippines, South Korea, Thailand and the United States.
In Washington, State Department spokeswoman Victoria Nuland said the U.S. has been communicating to Malaysia the importance of respecting human rights, including freedom of expression and assembly.
"We consider it incumbent on all sides to refrain from violence," she told a news conference Friday.