repel from

repel someone from something

to push someone back from something; to fight someone off from something. The army repelled the attackers from the entrance to the city. The attacking army was repelled from the city.