The correct answer is D, because that is the only subordinate/adverb clause among these examples. A is an adverbial phrase, not a clause - it doesn't have an active verb. B is a complete independent sentence. C cannot be a clause, because it doesn't have an active verb - 'to sit' is an infinitive, it isn't active or passive.