Rēzekne (Latgalian Rēzekne pronounced [ˈrʲæːzʲækʲnʲæ] or Rēzne pronounced [rʲæːzʲnʲæ], Latvian: Rēzekne pronounced [ˈrɛːzekne] ( listen); see other names) is a city in the Rēzekne River valley in Latgale region of eastern Latvia. It is called The Heart of Latgale (Latvian Latgales sirds, Latgalian Latgolys sirds). Built on seven hills, Rēzekne is situated 242 kilometres (150 miles) east of Riga, and 63 kilometres (39 miles) west of the Latvian-Russian border, at the intersection of the Moscow – Ventspils and Warsaw – Saint Petersburg Railways. It has a population of 31,216 (2016) making it the 7th largest city in Latvia.