Revelation 20:7

7 And after the thousand years, Hasatan will be freed out of his prison,

Revelation 20:7 In-Context

5 The rest of the dead didn't live until the thousand years were finished. This is the first resurrection.
6 Blessed and holy is he who has part in the first resurrection. Over these, the second death has no power, but they will be Kohanim of God and of Messiah, and will reign with him one thousand years.
7 And after the thousand years, Hasatan will be freed out of his prison,
8 and will come forth to deceive the nations which are in the four corners of the eretz, Gog and Magog, to gather them together to the war; the number of whom is as the sand of the sea.
9 They went up over the breadth of the eretz, and surrounded the camp of the holy ones, and the beloved city. Fire came down out of heaven, and devoured them.
The Hebrew Names Version is in the public domain.