Heavy forts were built near the border with Germany and at some places in Slovakia near the border with Hungary. They were intended to stop the enemy's main tank and infantry attacks.