Revelation 20:1-9 KJV

1 And I saw an angel come down from heaven, having the key of the bottomless pit and a great chain in his hand.
3 And cast him into the bottomless pit, and shut him up , and set a seal upon him, that he should deceive the nations no more, till the thousand years should be fulfilled : and after that he must be loosed a little season.
7 And when the thousand years are expired , Satan shall be loosed out of his prison,
8 And shall go out to deceive the nations which are in the four quarters of the earth, Gog and Magog, to gather them together to battle: the number of whom is as the sand of the sea.
9 And they went up on the breadth of the earth, and compassed the camp of the saints about , and the beloved city: and fire came down from God out of heaven, and devoured them.