Examples of using "母親は窓を開けないようにと言ったのに、その少年は窓を開けた。" in a sentence and their german translations:
Der Junge öffnete das Fenster, obwohl seine Mutter es ihm verboten hatte.