sentences:  Though part of Austrian Galicia, Zator and Oświęcim from 1818 to 1866 belonged the German Confederation.Until 1918, the Emperor of Austria also called himself "Duke of Zator" as a part of his grand title.When the Second Polish Republic was established in 1918, even the ducal title ceased to exist.