Libya’s parliament moved into a five-star Tripoli hotel Monday, a day after rioters armed with knives and guns stormed the legislature building, torching furniture, killing a guard and wounding six lawmakers in the latest episode of turmoil in the country.

Tensions have been mounting between the country’s biggest political blocs, each backed by militias, adding to the potential explosiveness of political disputes. Protesters demanded that parliament be disbanded immediately after its mandate ran out on Feb. 7.

In Sunday’s violence, dozens of protesters swept into the parliament chamber while it was in session, shooting guns, throwing bottles at lawmakers and setting fire to furniture. They took the seat of the parliament’s president — the head of a main Islamist bloc — tied it to a lamppost outside and set it on fire.