Voters flocked to cast their ballots today in Libya's first free national election in decades after the ouster of dictator Muammar Gaddafi, despite protests disrupting some polling in the restive east.

Gunmen killed one person and wounded another near a polling station in the eastern city of Ajdabiya, an official told AFP, a day after an election worker died when a helicopter carrying election materials was also targeted.

In the capital, long queues formed of people keen to elect the General National Congress, which will steer Libya through a transition period.

"Words cannot capture my joy, this is a historic day," said Fawziya Omran, 40, voting in a school in the heart of Tripoli.

Some voters sported black, red and green flags -- the colours of the revolution that toppled Gaddafi last year.

Joy was also palpable in the eastern city of Benghazi, cradle of the revolt.

"I feel like my life has been wasted so far, but now my children will have a better life," said Hueida Abdul Sheikh, a 47-year-old mother of three.

Interim leader Mustafa Abdel Jalil was jubilant as he voted in his hometown of Al-Bayda, also in the east.

"This happy day sets the foundations of a new Libya," he said.

Protesters demanding greater representation in the 200-member congress disrupted voting elsewhere in the region, however.

Nuri al-Abbar, chairman of the electoral commission, said acts of sabotage, mostly in the east, prevented 101 polling stations from opening.

"Ninety-four percent of polling stations opened," he told reporters, with voting under way in 1,453 out of 1,554 centres.

But he said later that 98 per cent of the polling stations operated normally, and deputy interior minister Omar al-Khadrawi said problems in the east had been resolved.

"The situation in the east is now under control," he said, adding that polling took place in all electoral districts.

By 1400 GMT, 1.2 million of the 2.8-million-strong electorate had voted, the head of the electoral commission told reporters.

Polling stations began closing at 1800 GMT in Tripoli and Benghazi, as scheduled.

In the east, an AFP reporter said some polling stations were still open late today to allow people to vote who had been unable to do so earlier because of the disruptions.

Preliminary results are due on Monday or Tuesday, the electoral commission said.

In Benghazi after the official end of polling the streets filled with joyous crowds and cars with blaring horns, as people fired celebratory gunshots into the air and let off fireworks, waved flags and flashed "V for victory" signs.

There were similar scenes in the capital.

Protesters unhappy over the east's share of seats in the new assembly had earlier targeted polling centres and also forced oil facilities to shut down ahead of the election.

One voter in Benghazi, housewife Hadija Ibrahim al-Majrab, 35, condemned anti-vote protesters.

"They have their views and they are free to express them, but this is not the way as what we want in the new Libya is law and order," she said in the city's upmarket Al-Fuwayid district.

Alexander Graf Lambsdorff, who heads a team of 21 European Union observers, called the vote a major milestone after 42 years of dictatorship.

"We believe that to have this election in Libya less than one year after the fall of Tripoli is an important achievement," he told AFP.

The make-up of the congress being elected has been a matter of heated debate, with factions such as the federalist movement calling for more seats.

The outgoing National Transitional Council (NTC) says seats were distributed according to demographics, with 100 going to the west, 60 to the east and 40 to the south.

But factions in the east, which was marginalised under Gaddafi, want an equal split and had threatened to sabotage the vote if their demand was not met.

The authorities dismiss such groups as a minority.

Libya has not seen national elections since the era of the late king Idris, whom Gaddafi deposed in a bloodless coup in 1969.

Political parties were banned as an act of treason during Gaddafi's iron-fisted rule. Now there are 142 parties fielding candidates.

A total of 80 seats are reserved for party candidates while 120 seats are open to individual candidates. Altogether, 3,707 candidates are standing in 72 districts nationwide.

From the parties, the coalition of ex-revolution prime minister Mahmud Jibril is seen as a key contender among liberals, facing stiff competition from two Islamist parties -- Justice and Development and Al-Wattan.

The winds of the Arab Spring that ushered Islamists into power in neighbouring Tunisia and Egypt may well bring about the same result in Libya.

The incoming congress will have legislative powers and appoint an interim government. But a last-minute NTC decree stripped its right to appoint a constituent assembly, which will be chosen in a separate election instead.

The uprising that began in Benghazi in February 2011 ended more than four decades of rule under Gaddafi who was captured and killed in October in his final bastion and hometown of Sirte.

Sign up to our free newsletters

Get the best updates straight to your inbox:
Please select at least one mailing list.

You can unsubscribe at any time by clicking the link in the footer of our emails. We use Mailchimp as our marketing platform. By subscribing, you acknowledge that your information will be transferred to Mailchimp for processing.