Ventspils is a town in northwestern Latvia in the historical Courland region of Latvia, and is the sixth largest city in the country. At the beginning of 2017, Ventspils had a population of 39,286. It is situated on the Venta River and the Baltic Sea, and has an ice-free port. The citys name literally means "castle on the Venta", referring to the Livonian Orders castle built alongside the Venta River. Ventspils holds the national record for the highest temperature ever recorded in Latvia with on 4 August 2014.