Hi,
The dogs had burst out of their nests only to be set upon by the fierce invaders.
What does it mean " to be set upon"? "To be attacked', usually by a superior force/superior numbers and usually without having provoked the attack.
Dogs don't have nests.
Clive