Complex sentence: Kanclerz (Polish for Chancellor, from latin: "castellanus") was one of the highest officials in the historic Poland, which functioned from the early Polish kingdom of the 12th century until the end of the Polish-Lithuanian Commonwealth in 1795.
Split into simpler sentences: Kanclerz (Polish for Chancellor, from latin: "castellanus") was one of the highest officials in the historic Poland. His office functioned from the early Polish kingdom of the 12th century until the end of the Polish-Lithuanian Commonwealth in 1795.