Gunmen have stormed the Libyan parliament building in Tripoli and raided lawmakers' offices.
Lawmaker Omar Bushah said gunmen forced their way into the General National Congress on May 18 and set part of the building on fire.
A rogue Libyan general said his forces attacked the parliament to arrest Islamists there.
Muhammad al-Hegazi, a spokesman for General Khalifa Hiftar, claimed responsibility for the attack in comments to Libya's Al-Alahar television station after shooting started outside parliament.
The attack came just hours after new Prime Minister Ahmed Maiteeq announced a new government had been formed.
In eastern Libya, fierce fighting continued in the city of Benghazi, where troops loyal to General Hiftar have been fighting with Islamist militia groups.
Libya's Health Ministry said at least 70 people have been killed in Benghazi since fighting broke out there on May 16.
Based on reporting by Reuters and AP