Jesus, the Son of God, defeated Satan, the deceiver, at the cross. The devil was not expecting Jesus to be alive again. He did not know what Christ came to accomplished, until he saw the glorious Christ rising alive out of Hades.
Christ died on the cross and his body was put in a tomb. In his soul He went to Hades to take His saints out of the dominion of Satan. That’s the reason why He said, “I will build my church, and the gates of Hades shall not prevail against it”.
Before the death of Christ, there was no Heaven. All the saints of the Old Covenant went to Hades after death. Christ did that work: He prepared a place for His people: Paradise or Heaven; He took them out of Hades and placed them in Paradise; finally, He resurrected on the third day. Christ came alive, victorious, from Hades. Now, Christ has the key of death and Hades, and Satan can do nothing about it.