The unrest coincided with a by-election Sunday to replace a lawmaker killed earlier this year .