Many violations were recorded in the elections, official says