Revelation of John 20:3

3and threw him into athe pit, and shut it and bsealed it over him, so that che might not deceive the nations any longer, until the thousand years were ended. After that he must be released for a little while.

Revelation of John 20:7-8

The Defeat of Satan

7And when the thousand years are ended, dSatan will be released from his prison 8and will come out eto deceive the nations that are at the four corners of the earth, fGog and Magog, gto gather them for battle; their number is like the sand of the sea.
Copyright information for ESV