Hardly had she walked out of the woods ___ she heard the strange

Hardly had she walked out of the woods ___ she heard the strange scream coming from behind a tree.

A.than

B.until

C.since

D.when

正确答案是D