I'm guessing the first one, as the 'darkness' being refered to is the subject of the two clauses starting with 'which'.
Is that correct? And is it correct for the reason I've suggested?
I do not claim that my opinion is absolutely true. If you've spotted any mistake in my English, please, correct it. I want to be aware of any mistakes to efficiently eliminate them before they become a habit.