How to use "dispelled" in a sentence

Sentences

The darkness was dispelled, but shadows remained along the walls and in the corners.