Question: When was the battle for Smolensk over?
About the article "Operation Barbarossa", section "Phase 2: Battle for Smolensk (3 July – 5 August 1941)".

Candidate passages:
The Smolensk War (1632–1634) was a conflict fought between the Polish-Lithuanian Commonwealth and Russia.
Hostilities began in October 1632 when Tsarist forces tried to capture the city of Smolensk.
Small military engagements produced mixed results for both sides, but the surrender of the main Russian force in February 1634 led to the Treaty of Polyanovka.
Russia accepted Polish-Lithuanian control over the Smolensk region, which lasted for another 20 years. 
After the Revolution, for inclusion in its composition as claimed Smolensk Belarusian People's Republic and the Byelorussian SSR .
Since April 1918 Smolensk was the center of the Western Region, which is based on January 1, 1919, Byelorussian SSR was formed.
January 7 BSSR government moved from Minsk and Smolensk already January 16, 1919 decision of the Central Committee of the RCP Smolensk region was transferred to the RSFSR.
In 1920 was held the new provincial census, according to which the Russian population prevailed over Belarus, but the Belarusian party leadership until 1926 leaves no hope for the inclusion of Smolensk in the Belorussian SSR.
In 1940, from Smolensk, the Katyn Massacre occurred.
During World War II, Smolensk once again saw wide-scale fighting during the first Battle of Smolensk when the city was captured by the Germans on July 16, 1941.
The first Soviet counteroffensive against the German army was launched in August 1941 but failed.
However, the limited Soviet victories outside the city halted the German advance for a crucial two months, granting time to Moscow's defenders to prepare in earnest.
Camp 126 was situated close to Smolensk and at this time Boris Menshagin was mayor of Smolensk, with his deputy Boris Bazilevsky.
Both of them would be key witnesses in the Nuremberg Trials over the Katyn massacre.
Over 93% of the city was destroyed during the fighting; the ancient icon of Our Lady of Smolensk was lost.
Nevertheless, it escaped total destruction.
In late 1943, Göring had ordered Gotthard Heinrici to destroy Smolensk in accordance with the Nazi "scorched earth" policy.
He refused and was punished for it.
The city was finally liberated on September 25, 1943.
The rare title of Hero City was bestowed on Smolensk after the war.
After the Germans captured the city in 1941, they found the intact archives of Smolensk Oblast Committee of the Communist Party, the so-called Smolensk Archive.
The archive was moved to Germany, and a significant part of it eventually ended up in the United States, providing Western scholars and intelligence specialists with unique information on the local workings of the Soviet government during its first two decades.
The archives were returned to Russia by the United States in 2002.
On April 10, 2010, a Tu-154 military jet carrying Polish president Lech Kaczyński, his wife, and many notable political and military figures crashed in a wooded area near Smolensk while approaching the local military airport.
All ninety-six passengers died immediately on impact.
The purpose of the visit was to commemorate the 70th anniversary of the Katyn massacre, in which some 22,000 Polish POWs were murdered by the NKVD.
In 2013, archaeologists of the Russian Academy of Sciences discovered and unearthed in the ancient temples in Smolensk dated to middle to second half of the 12th century, built on the left bank at the time the city was the capital of Smolensk principality.
From unique object preserved walls in some places low, in others - the height of human growth.
In September 2013, Smolensk widely celebrated the 1,150th anniversary with funds spent on different construction and renovation projects in the city.
In celebration Central Bank of Russia issued commemorative coins made of precious metals. 
In the 12th century, the autonomous grand duchy of Smolensk experienced its heyday, taking up a large part of the Smolensk region.
Tatar-Mongol hordes did not reach Smolensk, but he admits 1274 vassal of the Golden Horde.
In the 14th century Smolensk Prince Ivan with Lithuanians got rid of the Tatar yoke.
As a result, in the Smolensk land in 1340 invades Moscow-Ryazan-Tatar army.
Smolensk princes fluctuate between Lithuania and Moscow.
In 1348, Smolensk Knights crossed swords with the Crusaders at the Battle of Strėva.
In 1368 and 1370 years.
Smolensk ratification participated in campaigns Olgerda to Moscow, but the intervention of the Russian Orthodox Church made the princes of Smolensk to take pro-Moscow stance.
Smolyan shoulder-to- shoulder with the Muscovites fought in the Battle of Kulikovo.
In 1395, Vytautas the first time storm takes Smolensk and Bryansk plants to the throne Prince Roman.
In 1399, Smolensk regiments together with Lithuanians attacked the Tatars of the Vorskla River.
In July 1404 the Lithuanian prince Vytautas captured Smolensk and put an end to its independence.
In 1410 Smolensk regiments together with Lithuanians are involved in a battle with the German knights.
During the battle vedroshskoy in 1500 in Smolensk Moscow's troops defeated the Lithuanians.
In 1514, Smolensk and later other lands, went to Muscovy.
In 1610, at the Battle of Smolensk the land was under Klushino, resulting in the Polish troops opened the way to Moscow.
After the liberation of Moscow from the Poles, the king's son Vladislav did not leave attempts to occupy the throne in 1617, he chose Smolensk base for their march on Moscow.
After the Time of Troubles, according Deulino truce in 1618, Smolensk land was transferred to the Commonwealth.
Smolensk gentry began to take shape.
In the Smolensk War (1632-1634) Russia was not able to regain Smolensk land.
In the 16th and 17th centuries, Smolensk was one of the most important economic and military centers of the Grand Princedom of Moscow.
It was also a major commercial center, and home industry production reached high levels.
Construction of the Smolensk fortress wall was an important event in the history of Russia.
Smolensk Oblast was formed in September 1937 from the central and western districts of Western Oblast as the result of a reorganization of the latter oblast.
The new oblast exceeded present-day Smolensk Oblast in both population and area. 
The Battle of the Vikhra River (, ) took place on 29 April 1386 on the Vikhra River, tributary of the Sozh River, near Mstislavl between the Grand Duchy of Lithuania and the Principality of Smolensk.
Lithuanians achieved a decisive victory and Smolensk was forced to accept being a vassal of Lithuania.
Andrei of Polotsk fought with his younger half-brother Jogaila for the throne of the Grand Duchy of Lithuania.
Andrei allied with the Livonian Order and Prince Svyatoslav II of Smolensk, who wanted to reconquer the Principality of Mstislav.
In February 1386, when Jogaila and his allies celebrated his wedding to Jadwiga of Poland and coronation as Polish king in Kraków, the Order invaded Lithuania almost reaching Vilnius.
In March, the army of Smolensk besieged Vitebsk and Orsha, but could not take them.
Svyatoslav devastated many lands on the Lithuanian border and besieged Mstislavl, which was defended by Karigaila Olgerdovich.
Upon hearing the news of the invasion, Jogaila sent a great army under the command of his brother Skirgaila.
The army also included Kaributas, Lengvenis, and Vytautas.
Mstislavl withstood ten days of siege before the Lithuanian army reached it and engaged the Smolensk army.
The result of the battle was a complete defeat of the Smolensk troops and the deaths of Svyatoslav and his nephew Ivan.
Two of Svyatoslav's sons, Gleb Svyatoslavich and Yuri Svyatoslavich, were seriously wounded and taken prisoners.
Skirgaila's army approached Smolensk, but did not lay a siege.
Yuri, who according to the Bychowiec Chronicle was married to a niece of Skirgaila and Jogaila, was installed as the Prince of Smolensk and a vassal to Lithuania.
Gleb Svyatoslavich was taken as a hostage to Lithuania.
Eventually, Gleb returned to Smolensk and challenged Yuri for the throne.
That provided Grand Duke Vytautas with an opportunity to seize Smolensk in 1395. 
Although spared the Mongol armies in 1240, Smolensk paid tribute to the Golden Horde, gradually becoming a pawn in the long struggle between Lithuania and the Grand Duchy of Moscow.
The last sovereign monarch of Smolensk was Yury of Smolensk; during his reign the city was taken by Vytautas the Great of Lithuania on three occasions: in 1395, 1404, and 1408.
After the city's incorporation into the Grand Duchy of Lithuania, some of Smolensk's boyars (e.g., the Sapiehas) moved to Vilnius; descendants of the ruling princes (e.g., the Tatishchevs, Kropotkins, Mussorgskys, Vyazemskys) fled to Moscow.
With tens of thousands of people living there, Smolensk was probably the largest city in 15th-century Lithuania.
Three Smolensk regiments proved decisive during the Battle of Grunwald against the Teutonic Knights.
It was a severe blow to Lithuania when the city was taken by Vasily III of Russia in 1514.
To commemorate this event, the Tsar founded the Novodevichy Convent in Moscow and dedicated it to the icon of Our Lady of Smolensk.
In order to repel future Polish–Lithuanian attacks, Boris Godunov made it his priority to heavily fortify the city.
The stone kremlin constructed in 1597–1602 is the largest in Russia.
It features thick walls and numerous watchtowers.
Heavy fortifications did not prevent the fortress from being taken by the Polish–Lithuanian Commonwealth in 1611 after a long twenty-month siege, during the Time of Troubles and Dimitriads.
Weakened Muscovy temporarily ceded Smolensk land to the Commonwealth in the Truce of Deulino and for the next forty-three years it was the seat of Smolensk Voivodeship.
To recapture the city, the Tsardom of Russia launched the so-called "Smolensk War" against the Commonwealth in 1632.
After a defeat at the hands of king Wladislaw IV, the city remained in Polish–Lithuanian hands.
In 1632, the Uniate bishop Lew Kreuza built his apartments in Smolensk; they were later converted into the Orthodox Church of Saint Barbara.
The hostilities resumed in 1654 when the Commonwealth was being affected by the Khmelnytsky Uprising and the Swedish invasion.
After another siege, on September 23, 1654, Smolensk was recaptured by Russia.
In the 1667 Truce of Andrusovo, the Polish–Lithuanian Commonwealth finally renounced its claims to Smolensk.