So he gave them (autois | αὐτοῖς | dat pl neut3rd) permission. Then the unclean spirits came out and entered the pigs. The herd (about two thousand strong) rushed down the steep bank into the sea (about two thousand and was drowned.
Reference
Mark 5:13
Sequence
724