Venezuela’s opposition took majority control of the National Assembly after years in the political wilderness, setting the stage for a potential power struggle with embattled President Nicolas Maduro.

Lawmakers were sworn in on Tuesday during a heated parliamentary session that saw pro-government representatives walk out in protest after pushing their way onto the dais as the new leadership tried to lay out its legislative agenda.