...................................................................................................................................
The Himalayan nation of Nepal has become the world's newest republic, ending 240 years of monarchy.
A constituent assembly meeting in the capital, Kathmandu, overwhelmingly voted to abolish royal rule.
The Maoists, who emerged as the largest party in last month's elections, were committed to ousting King Gyanendra and creating a republic.
They entered politics in 2006, after signing a peace agreement that ended a decade-long insurgency.
The approved proposal states that Nepal is "an independent, indivisible, sovereign, secular and an inclusive democratic republic nation".
Only four members of the 601-seat assembly opposed the change.
Royal privileges "will automatically come to an end", the declaration says.
It also states that the king's main palace must be vacated within a fortnight, to be transformed into a museum.
Several thousand people began celebrating in the streets of Kathmandu ahead of the move.
"This is the people's victory," former Maoist rebel Kamal Dahal, 22, told Reuters news agency.
"With today's declaration of a republic we have achieved what we fought for."
But ahead of the vote, suspected royalists threw three small bombs in the capital - one on Tuesday and two on Wednesday - injuring at least three people.