During Nazi occupation (1939-1945) civilians were banned from owning firearms and those breaking the law were subject to capital punishment. In 1939 Polish historian and writer along with 15 people was executed for illegal possession of a gas mask.