Jesus battled with the devil and assault by temptation in the wilderness for 40 days and He triumphed. After that He returned to Nazareth, His home, preached in the synagogue and read Scripture, and explained that He would not perform any miracles in Nazareth because familiarity breeds contempt. His listeners became furious with His position, persecuted Him, and tried to kill Him. But Jesus just kept going- next to Capernaum to triumph over devils.
Then he went down to Capernaum, a town in Galilee, and on the Sabbath he taught the people. They were amazed at his teaching, because his words had authority. (Luke 4:31-32)
In the synagogue there was a man possessed by a demon, an impure spirit. He cried out at the top of his voice, “Go away! What do you want with us, Jesus of Nazareth? Have you come to destroy us? I know who you are—the Holy One of God! (Luke 4:33)
“Be quiet!” Jesus said sternly. “Come out of him!” Then the demon threw the man down before them all and came out without injuring him. (Luke 4:35)
The devil showed what he would have done, when he threw the man in the midst, with force and fury, as if he would have dashed him to pieces. Christ showed what a power he had over him, in that he not only forced him to leave him, but to leave him without so much ashurting him, without giving him a parting blow, a parting gripe. -Adapted from Matthew Henry commentary
All the people were amazed and said to each other, “What words these are! With authority and power he gives orders to impure spirits and they come out!” And the news about him spread throughout the surrounding area. (Luke 4:36-37)