He took part in the Great Northern War and was killed by artillery fire in the Battle of Kliszów in Poland.