 He threw him into the bottomless pit. He shut it and sealed it over him. This was so that he would not deceive the nations anymore until the thousand years were over. After that, he must be set free for a short amount of time. 