Complex sentence: Located in the Masovian Voivodeship, about 40 km south of Warsaw, it is the capital of Grójec County.
Split into simpler sentences: Located in the Masovian Voivodeship, about 40 km south of Warsaw. It is the capital of Grójec County.