Examples of using "母親は窓を開けないようにと言ったのに、その少年は窓を開けた。" in a sentence and their english translations:
The boy opened the window, although his mother told him not to.