BENGHAZI, Libya -- A suicide bomber and other militants attacked Libya's election commission in the capital on Wednesday, killing at least six people, the Health Ministry said. The suicide bomber blew himself up inside the building and other militants set fire to it, Health Ministry spokeswoman Wedad Abu Niran told The Associated Press.

Videos posted on social media showed thick black smoke billowing from the building.

The ministry said in a statement that six people were killed and another four were wounded.

Get Breaking News Delivered to Your Inbox

No one immediately claimed responsibility for the attack. Islamic extremists are opposed to democratic elections and have targeted them in other countries.

Libya was plunged into chaos following the 2011 uprising that toppled and killed Muammar Qaddafi, and is now split between rival governments, each backed by an array of militias. A U.N.-backed government is based in Tripoli.

Earlier this week, the international Quartet trying to help bring order to Libya said it supports holding presidential and parliamentary elections this year, and will provide observers and electoral assistance to ensure the voting is free and fair.

In a joint statement following a meeting in Cairo on Monday, the European Union, the African Union, the Arab League and the United Nations said Libyans must commit in advance to respect and abide by the results and avoid violence or intimidation.