First noticed by chroniclers as a Severian town in 1152. Sometime in 1247 Hlukhiv became the seat of a branch of the princely house of Chernigov following the Mongol invasion of Rus. Between 1320 and 1503 it was part of the Grand Duchy of Lithuania before being conquered by the Grand Duchy of Moscow. In 1618 it became part of the Polish-Lithuanian Commonwealth and was granted Magdeburg Rights in 1644 by Władysław IV Vasa. In 1648–1764 it was part of the Cossack Hetmanate within the Nizhyn Regiment. In 1654 the Cossack Hetmanate came under military protectorate of the Tsardom of Muscovy in accordance with the Treaty of Pereyaslav and in 1664, during the siege of Hlukhiv, the Russo-Cossack garrison of the town successfully defended against a superiour Polish army which suffered great losses during the following retreat. According to the Truce of Andrusovo along with the rest Left-bank Ukraine it was ceded to the Tsardom of Muscovy in 1667. In 1708 after realizing that Ivan Mazepa sided with Carl XII, Peter the Great order to destroy Baturyn and transfer capital to Hlukhiv. Here in November 1708 was elected a new Hetman of Zaporizhian HostIvan Skoropadsky, while the Metropolitan of Kiev, Halych and all Little Russia Ioasaf was forced to proclaim anathema onto Mazepa in the St. Trinity Cathedral. Hlukhiv served as the capital of the Cossack Hetmanate in 1708-64 and until 1773 the administrative center of the Little Russia Governorate. Under the last hetmans of Ukraine, the town was remodeled in the Baroque style. Subsequently, it declined in consequence of frequent fires, so that very few of its architectural gems survived. Since the first school of singing in the Russian Empire was established there in 1738, the town has a rich musical heritage. Composers Dmytro Bortniansky and Maksym Berezovsky, whose statues grace the Bortniansky Square of Hlukhiv, are believed to have studied there. In 1874 in Hlukhiv was established a college. In 1879 Russian millionaires of Ukrainian descent Tereshchenko brothers established a free hospital of St. Euphrosyne and supported it financially. In 1899 on the funds of Tereshchenko family in Hlukhiv was established another college. In 1918 the city became part of Ukraine, however already in January 1918 it was occupied by the Soviet troops for several months. The Soviet regime returned again to the city a year later in 1919. During World War II, Hlukhiv was occupied by the German Army from 9 September 1941 to 30 August 1943. In 1994 in the city was established the State Historical and Cultural Heritage Park. In October 2015 at the local election, the mayor of the city became, a naturalized Ukrainian from France and great grandson of Mikhail Tereshchenko. Tereshchenko stepped down as mayor in October 2018 with the intention to become a candidate in the 2019 Ukrainian presidential election. Yet, during the November–December 30 daysmartial law in Ukraine he resumed his position as mayor and on 3 January 2019 he declared his support for presidential candidate Andriy Sadovyi during a congress of Sadovyi's party Self Reliance.
Sights
The oldest building in the town is the :uk:Миколаївська церква |church of St. Nicholas, modeled after traditional wooden churches and executed in the Ukrainian Baroque style. The church, repaired and renovated in 1871, has three pear-shaped domes and a two-storey bell tower. The church of the Savior's Transfiguration straddles the line between Baroque and Neoclassicism, while the massive Neo-Byzantine cathedral resembles St Volodymyr's Cathedral in Kiev. Probably the best known landmark of modern Hlukhiv is the conspicuous water tower, though more historical interest attaches to the triumphal arch, dated either to 1744 or 1766. It has been suggested that the architect of this rather plain structure was Andrey Kvasov. The arch, the oldest in Ukraine, sustained damage during World War II but was subsequently restored.
Due to the traditional cultivation of industrial hemp in the area, Hlukhiv has become home to the Institute of Bast Crops of the Ukrainian Academy of Agrarian Sciences, working on breeding improved hemp and flax cultivars. In the 1970s, the institute developed low-THC hemp varieties for industrial cultivation.