In the late Middle Ages, around 1276, was the first known time that there was a reference to Gliwice in history. At first, it was ruled by Polish dukes, but later became a part of Bohemia in 1335. Later on, in 1526, it was conquered by Austria.