Halmstad () is a port, university, industrial and recreational city at the mouth of the Nissan river, in the province of Halland on the Swedish west coast. Halmstad is the seat of Halmstad Municipality and the capital of Halland County. The city had a population of 71,422 in 2020, out of a municipal total of over 100,000 (19th most populous — 2019). Halmstad is Sweden's 19th-largest city by population and located about midway between Gothenburg (the second most populous) and Malmö (the third). Timber framing architecture is common. History Halmstad, at the time part of the Kingdom of Denmark, received its first city charter in 1307, and the city celebrated its 700th anniversary in 2007. The oldest remains of that first town are to be found at "Övraby" upstream on Nissan, just south of and quite close to the present day regiment buildings. The remains of the church can still be seen today between a defunct brick industry and a former landfill. In the 1320s the town moved to the present day town centre. At this time there were two monasteries in the town and during the 15th century the St. Nikolai church was built. Halland was the object of numerous battles, sieges and occupations by Swedish troops. During the Kalmar Union — a Nordic Union between Sweden, Norway and Denmark which lasted between 1397 and 1523 – it was in Halmstad that the Union King was to be finally selected. At the end of the 16th century Christian IV of Denmark ordered the fortification of Halmstad and in the beginning of the 17th century to build a crescent-shaped fort with Nissan as part of the defences. 1619 is an important date in the history of Halmstad. In March of that year, King Gustav II Adolf of Sweden and Christian IV met at the castle. Over a period of a week they celebrated the payment in full of the Älvsborg ransom. August of the same year saw the destruction of Halmstad by fire. Halland became part of Sweden for a period of thirty years when peace was declared at the Treaty of Brömsebro in 1645 and Danish rule ended. The Treaty of Roskilde in 1658 made this acquisition permanent. Sweden defeated Denmark in the Battle of Fyllebro which took place in 1676 just outside Halmstad. In 1678, a parliamentary meeting (Riksdag) was held in Halmstad. The Riksdag decided in 1734