Jesus and his apostles were able to cast out demons (also called devils, unclean spirits, or evil spirits).
Matthew 8:16 ...they brought unto him [Jesus] many that were possessed
with devils: and he cast out the spirits with his word, and healed all
that were sick: Mark 1:23-27 And there was in their synagogue a man
with an unclean spirit; and he cried out, Saying, Let us alone; what have
we to do with thee, thou Jesus of Nazareth? art thou come to destroy us?
I know thee who thou art, the Holy One of God. And Jesus rebuked him, saying,
Hold thy peace, and come out of him. And when the unclean spirit had torn
him, and cried with a loud voice, he came out of him. And they were all
amazed, insomuch that they questioned among themselves, saying, What thing
is this? what new doctrine is this? for with authority commandeth he [Jesus]
even the unclean spirits, and they do obey him. Matthew 8:28-33 And
when he [Jesus] was come to the other side into the country of the Gergesenes,
there met him two possessed with devils, coming out of the tombs, exceeding
fierce, so that no man might pass by that way. And, behold, they cried
out, saying, What have we to do with thee, Jesus, thou Son of God? art
thou come hither to torment us before the time? And there was a good way
off from them an herd of many swine feeding. So the devils besought him,
saying, If thou cast us out, suffer us to go away into the herd of swine.
And he said unto them, Go. And when they were come out, they went into
the herd of swine: and, behold, the whole herd of swine ran violently down
a steep place into the sea, and perished in the waters. And they that kept
them fled, and went their ways into the city, and told every thing, and
what was befallen to the possessed of the devils. Mark 3:15,16 And
he [Jesus] ordained twelve, that they should be with him, and that he might
send them forth to preach, and to have power to heal sicknesses, and to
cast out devils: Matthew 10:1 And when he [Jesus] had called unto
him his twelve disciples, he gave them power against unclean spirits, to
cast them out, and to heal all manner of sickness and all manner of disease.
Mark 6:7 And he [Jesus] called unto him the twelve, and began to send them
forth by two and two; and gave them power over unclean spirits;