Rēzekne (Latvian: [ˈrɛːzekne] , Latgalian: Rēzne pronounced [rʲæːzʲnʲæ] or Rēzekne pronounced [ˈrʲæːzʲækʲnʲæ], Russian: Резекне) is a state city in the Rēzekne River valley in the 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 railway and Warsaw – Saint Petersburg Railways. It is the 7th largest city in Latvia.