# he allowed them

"Jesus allowed the unclean spirits to do what they asked permission to do" 

# into the sea, and about two thousand pigs drowned in the sea

You can make the words after the comma a separate sentence: "into the sea. There were about two thousand pigs, and they drowned in the sea"