"When I announced in February that I was a candidate, we hit the ground running," said Rivera Tuesday night.
Rivera beat out four other candidates to win the seat vacated by Rudy Salas when Salas was elected to the California Assembly.
With 25 of 25 precincts reporting, Rivera received 711 votes, or 36.71 percent. In second place was Efren Martinez with 384 votes, or 19.82 percent. He was followed by Marvin Dean, Stephanie Campbell, Tomeka Powell and Donald Vereen.
In Wasco, voters soundly defeated Measure A, the school unification measure that would have merged the Wasco Union Elementary School District with the Wasco Union High School District to form one district.
The vote was 836 votes, or 65.62 percent, against, and 438 votes, or 34.38 percent, in favor of unification.
In Stallion Springs, a tax measure that would raise revenue for police protection failed to garner the two-thirds needed to pass. Measure B received 59.83 percent approval votes and 40.17 percent against votes.