 Soon tensions rose in Baku, as city folk killed 7 of the Russian consul's soldiers, expelling him out of the city.In 1805, a Russian squadron entered the Baku bay under the command of General Irinarch Zavalishin and proceeded to siege the city.Khan sent an envoy to Zavalishin to negotiate, however, he responded that he had been sent by the emperor to occupy Baku and demanded the immediate surrender of the city.