Born to a noble family, Bohdan Khmelnytsky attended Jesuit school, probably in Lviv. At the age of 22 he joined his father in the service of the Commonwealth, battling against the Ottoman Empire in the Moldavian Magnate Wars. After being held captive in Constantinople, he returned to life as a registered Cossack, settling in his khutor Subotiv with a wife and several children. He participated in campaigns for Grand Crown Hetman Stanisław Koniecpolski, led delegations to King Władysław IV Vasa in Warsaw and generally was well respected within the Cossack ranks. The course of his life was altered, however, when Aleksander Koniecpolski, heir to hetman Koniecpolski's magnate estate, attempted to seize Khmelnytsky's land. In 1647 Chyhyryn deputy of starosta (head of the local royal administration) Daniel Czapliński openly started to harass Khmelnytsky on behalf of the younger Koniecpolski in an attempt to force him off the land. On two occasions raids were made to Subotiv, during which considerable property damage was done and his son Yurii was badly beaten, until Khmelnytsky moved his family to a relative's house in Chyhyryn. He twice sought assistance from the king by traveling to Warsaw, only to find him either unwilling or powerless to confront the will of a magnate.