Local elections in Latvia were held on 3 June 2017. All 119 municipal councils of the country took part in the elections.

Election system 
A number of deputies in the council depends on the amount of population in the territory: the bigger the population in the territory is, the more deputies work in the council. The number of deputies can be 9, 13, 15, 17 or 19. The only exclusion is the council of Riga, which is the capital of Latvia. Riga is by far bigger than any other city of Latvia, so its municipal council consists of 60 deputies.

Citizens of Latvia and other countries of the European Union who are over 18 years old have the right to vote in the local elections. In order to vote citizens of other EU countries have to register in the Population Register of Latvia at least 90 days before the election date. Voters take part in the local elections in the territory where they live or where they have real estate. Registration of voters is automatic. People are automatically registered for the local elections on a certain polling station according to the place where they live. However, no later than 18 days before the elections people can change their polling station to any other polling station in the territories where they live or have real estate.

On the election day polling stations work from 7 a.m. to 10 p.m. Three days prior to the election date early voting is possible: polling stations are usually opened for several hours during these days.

Campaign 
599 lists of candidates were registered to participate in the local elections throughout the country. The number of candidates willing to become deputies was 8945. 465 lists were nominated by political parties individually, 31 lists by coalitions of political parties and 103 lists by unions of voters. 77.46% of all candidates were ethnic Latvians, 3.90% ethnic Russians, 0.48% ethnic Poles, 1.37% all others. 16.99% of candidates refused to state their ethnic identity.

11.6% of all voters, which equals 167 thousand people, took part in the early voting from 31 May to 2 June. The total turnout of the local elections was 50.41% or 727839 people.

Results 
The following map shows the results of the local elections in different territories of Latvia. The colour, which each territory has, indicates the party, which received the majority of votes in this territory.

The results of local elections in two biggest Latvian cities (Riga and Daugavpils) are given below.

Riga 
The coalition of Social Democratic Party "Harmony" and party "Proud to serve Riga" ruled Riga before the elections. The representative of "Harmony" Nils Ušakovs was the mayor of the city and the head of the city council. All other parties which took part in the elections agreed to work together to dismiss Ušakovs form the post of mayor.

According to the elections results the coalition of "Harmony" and party "Proud to serve Riga" lost several deputies in the council but received the majority of 32 places out of 60. On 22 June 2017 Nils Ušakovs was reelected as the head of the city council.

 Elections in the council of Riga
|-
! style="background-color:#E9E9E9" align=center|Party
! style="background-color:#E9E9E9" align=right|Votes
! style="background-color:#E9E9E9" align=right|%
! style="background-color:#E9E9E9" align=right|Deputies
! style="background-color:#E9E9E9" align=right|Change
|-
| align=left| Harmony — Proud to serve Riga
| 127099
| align=right| 50,82
| align=right| 32
| align=right|  7
|-
| align=left| LAR — Latvian Development
| 34176
| align=right| 13,66
| align=right| 9
| align=right|  9
|-
| align=left| New Conservative Party
| 33553
| align=right| 13,42
| align=right| 9
| align=right|  9
|-
| align=left| National Alliance
| 23135
| align=right| 9,25
| align=right| 6
| align=right|  6
|-
| align=left| Unity
| 15653
| align=right| 6,26
| align=right| 4
| align=right|  5
|-
| align=left| Others
| 15514
| align=right| 6,21
| align=right| 0
| align=right| 
|-
|align=left|Overall (turnout 58,72 %)
|width="75" align="right" style="background-color:#E9E9E9"|249130|width="30" align="right" style="background-color:#E9E9E9"| 99,61|width="30" align="right" style="background-color:#E9E9E9"| 60 |width="30" align="right" style="background-color:#E9E9E9"| —
|-
| colspan=8 align=left | Source: Central Election Commission of Latvia
|}

 Daugavpils 
Before the elections, the representative of the Latgalian party Jānis Lāčplēsis was the mayor of the city and the head of the city council. He was elected to these posts unanimously (with no deputy voted against) in 2013 after local elections of that year.

According to the elections results the Latgalian party increased the number of its deputies in the council, however, did not receive the majority. At the same time, its rivals Social Democratic Party "Harmony" and "Our party" concluded a coalition agreement.  On 26 June 2017 Andrejs Elksniņš from "Harmony"  was elected as the mayor and the head of the city council while the leader of "Our party" Rihards Eigims became vice-mayor and the deputy head of the city council.

So the Social Democratic Party "Harmony" became the ruling force in municipal councils of two biggest cities in Latvia.

 Elections in the council of Daugavpils
|-
! style="background-color:#E9E9E9" align=center|Party
! style="background-color:#E9E9E9" align=right|Votes
! style="background-color:#E9E9E9" align=right|%
! style="background-color:#E9E9E9" align=right|Deputies
! style="background-color:#E9E9E9" align=right|Change
|-
| align=left| Latgalian party
| 7899
| align=right| 28,57
| align=right| 6
| align=right|  2
|-
| align=left| Harmony 
| 7786
| align=right| 28,16
| align=right| 5
| align=right|  1
|-
| align=left| Our party
| 5347
| align=right| 19,34
| align=right| 4
| align=right|  4
|-
| align=left| Other
| 6316
| align=right| 22,85
| align=right| 0
| align=right|  7
|-
|align=left|Overall (turnout 47,33 %)
|width="75" align="right" style="background-color:#E9E9E9"|27348
|width="30" align="right" style="background-color:#E9E9E9"| 98,91
|width="30" align="right" style="background-color:#E9E9E9"| 15 
|width="30" align="right" style="background-color:#E9E9E9"| —
|-
| colspan=8 align=left | Source: Central Election Commission of Latvia
|}

References

2017 elections in Europe
June 2017 events