He was the Speaker of the Parliament extraordinary held in Warsaw on 3 December to 24 December 1613. During the war with Sweden (1621–1625 war) and the (war 1626–1629) fought in Livonia winning to the Swedish army at Kroppenhof, Lixna, Slavskoye and Dyneburg. It is because of fighting with the Swedes until 1629, he was appointing Palatine-Governor of Smolensk region, but the nomination was already in 1625. Seeing the threat from Russia, Gosiewski immediately upon taking the governorate of Smolensk began to renovate the walls of the city. He personally oversaw the construction of Sigismund Fortress, which strengthened the eastern part of the stronghold. Intensively collected supplies of food and ammunition, and developed a business intelligence gathering valuable information about Moscow's war preparations. In the spring of 1632, he made review the fortifications in Dorogobuzh and other frontier forts.