Revelation 20:1-3

1 And I saw an angel coming down out of heaven, having the key to the bottomless pit and holding in his hand a great chain.

2 He seized the dragon, that ancient serpent, who is the devil [i.e. "false accuser"], or satan [i.e. "the adversary "], and bound him for a thousand years.

3 He threw him into the bottomless pit, and locked and sealed it over him, to keep him from deceiving the nations anymore until the thousand years were ended.   After that, he must be set free for a short time.