Revelation 20:4-7
Darby Translation
4 And I saw thrones; and they sat upon them, and judgment was given to them; and the souls of those beheaded on account of the testimony of Jesus, and on account of the word of God; and those who had not done homage to the beast nor to his image, and had not received the mark on their forehead and hand; and they lived and reigned with the Christ a thousand years:
5 the rest of the dead did not live till the thousand years had been completed. This [is] the first resurrection.
6 Blessed and holy he who has part in the first resurrection: over these the second death has no power; but they shall be priests of God and of the Christ, and shall reign with him a thousand years.
7 And when the thousand years have been completed, Satan shall be loosed from his prison,
Read full chapterPublic Domain (Why are modern Bible translations copyrighted?)