The violence broke out Saturday night when gunmen opened fire in several parts of the city ahead of the vote .