History of Kazan

Etymology.
The origin of the name Kazan is uncertain. It could very well derive from the Bulgars - the Bulgarian (from the Bulgar language) and Tatar word (absorbed from the Bulgars) "qazan" means 'boiler' or 'cauldron'. Alternately, it may have been derived from the Tatar "qazğan", 'dug' (with reference to ditches). "Qazan" is originally a name for a special cooking pan, similar to the wok, but heavier. The belief that the city of Kazan is named after this object comes from the terrain's similarity to a "qazan": the city is situated in a U-shaped lowland. Another, more romantic legend tells a story of a Tatar princess Söyembikä, who dropped a golden dish (golden "qazan") into the river while washing it, and that the city was founded at that site. Additionally, legends of the Chuvash people refer to the Bulgarian Prince Khusan (Хусан) (this being the Chuvash rendering of the Muslim name Hasan) and that is the Chuvash name for the city.
History.
Middle ages.
There is a long-running dispute as to whether Kazan was founded by the Volga Bulgars in the early Middle Ages or by the Tatars of the Golden Horde in the mid-15th century, as written records before the latter period are sparse. If there were a Bulgar city on the site, estimates of the date of its foundation range from the early 11th century to the late 13th century (see Iske Qazan). It was a border post between Volga Bulgaria and two Finnic tribes, the Mari and the Udmurt. Another vexatious question is where the citadel was built originally. Archaeological explorations have produced evidence of urban settlement in three parts of the modern city: in the Kremlin; in Bişbalta at the site of the modern Zilantaw monastery; and near the Qaban lake. The oldest of these seems to be the Kremlin.
If Kazan existed in the 11th and 12th centuries, it could have been a stop on a Volga trade route from Scandinavia to Iran. It was a trade center, and possibly a major city for Bulgar settlers in the Kazan region, although their capital was further south at the city of Bolğar.
After the Mongols devastated the Bolğar and Bilär areas in the 13th century, migrants resettled Kazan. Kazan became a center of a duchy which was a dependency of the Golden Horde. Two centuries later, in the 1430s, Hordian Tatars (such as Ghiasetdin of Kazan) usurped power from its Bolghar dynasty.
Some Tatars also went to Lithuania, brought by Vytautas the Great.
In 1438, after the destruction of the Golden Horde, Kazan became the capital of the powerful Khanate of Kazan. The city bazaar, "Taş Ayaq" ("Stone Leg")' became the most important trade center in the region, especially for furniture. The citadel and Bolaq channel were reconstructed, giving the city a strong defensive capacity. The Russians managed to occupy the city briefly several times.
Kazan Khanate was making constant plundering raids on Russia. Slavery in Kazan Khanate was legal. The number of slaves was up to 10% of the population, with most of the slaves being Russian people who were captured during raids. All captured men were forced to turn Mohammedan, otherwise they could be killed or sold into slavery to other Muslim countries.
The Tsarist period.
As a result of the Siege of Kazan (1552) Russia under Ivan the Terrible conquered the city for good, the majority of the population was massacred and 8000 slaves were set free. In spite of the fact that under the treaty of 1551 all Russian slaves must be released Kazan Khanate still kept a lot of Russian slaves. Siege of Kazan (1552) put an end to slavery. From During the governorship of Alexander Gorbatyi-Shuisky, most of the khanates's Tatar residents were killed or forcibly Christianized. Mosques and palaces were ruined. The surviving Tatar population was moved to a place away from the city and this place was forcibly settled by Russian farmers and soldiers. Tatars in the Russian service were settled in the Tatar Bistäse settlement near the city's wall. Later Tatar merchants and handicraft masters also settled there. During this period, Kazan was largely destroyed as a result of several great fires. After one of them in 1579, the icon "Our Lady of Kazan" was discovered in the city. In the early 17th century, at the beginning of the Time of Troubles in Russia, the Kazan Khanate declared independence with the help of the Russian population, but this independence was suppressed by Kuzma Minin in 1612.
In the Russian Empire.
In 1708, the Khanate of Kazan was abolished, and Kazan became the center of a "guberniya". After Peter the Great's visit, the city became a center of shipbuilding for the Caspian fleet. The major Russian poet Gavrila Romanovich Derzhavin was born in Kazan in 1743, the son of a poor country squire of Tatar ancestry though himself having a thoroughly Russian identity. Kazan was largely destroyed in 1774 as a result of the Pugachev revolt, a revolt by border troops and peasants led by the Don Cossack ataman (captain) Yemelyan Pugachev, but was rebuilt soon afterwards, during the reign of Catherine the Great. Catherine also decreed that mosques could again be built in Kazan, the first being Marjani Mosque. But discrimination against the Tatars continued. In the beginning of the 19th century Kazan State University and printing press were founded by Alexander I. It became an important center for Oriental Studies in Russia. The Qur'an was first printed in Kazan in 1801. Kazan became an industrial center and peasants migrated there to join its industrial workforce. In 1875, a horse tramway appeared; 1899 saw the installation of a tramway. After the Russian Revolution of 1905, Tatars were allowed to revive Kazan as a Tatar cultural center. The first Tatar theater and the first Tatar newspaper appeared.
Soviet period.
In 1917, Kazan became one of the revolution centers, Gunpowder Plant fire occurred in the city. In 1918, Kazan was a capital of the Idel-Ural State, which was suppressed by the Bolshevist government. In the Kazan Operation of August 1918, it was briefly occupied by Czechoslovak Legions. In 1920 (after the October Revolution), Kazan became the center of Tatar Autonomous Soviet Socialist Republic. In the 1920s and 1930s, most of the city's mosques and churches were destroyed, as occurred elsewhere in the USSR. During World War II, many industrial plants and factories to the west were relocated in Kazan, making the city a center of the military industry, producing tanks and planes. After the war, Kazan consolidated as industrial and scientific center. In 1979, the city's population reached the number of 1 million. Around this period the city was gripped by a moral panic in the form of the rise of juvenile delinquency and street gangs in what became known as the "Kazan phenomenon".
Modern times.
In the late 1980s and in the 1990s, after the dissolution of the USSR, Kazan again became the center of Tatar culture, and separatist tendencies intensified. With returning of capitalism era Kazan became one of the most important centers of Russian Federation. The city came up from 10th to 6th position in population ranking of Russian cities. Since 2000, the city has been undergoing a renovation. The historical center, including its Kremlin, has been rebuilt. Kazan celebrated its millennium in 2005, although the date of the «millennium», was fixed rather arbitrarily. During the millennium celebrations, one of the largest mosque in Russia, Qolsharif, was inaugurated in the Kazan Kremlin, the holiest copy of Our Lady of Kazan was returned to the city, and the "Millennium Bridge" was also inaugurated that year. The city hosted the 2013 Summer Universiade and 2018 FIFA World Cup. In 2021, a mass shooting occurred at a school.