In the European Middle Ages , the herb was placed beneath pillows to aid sleep and ward off nightmares .
In the European Middle Ages , the herb was placed under pillows . This was done to help sleep and ward off nightmares .