In the middle of the 18th century, Gliwice was taken from the Austrian ruling family and became a part of Prussia. However, in the unification, or coming together, of Germany in 1871, Gliwice became a part of the German empire.