Fanfares began in the Middle Ages. Modern movies often show trumpets playing fanfares in ancient Rome, but there is little evidence that this ever happened. In the 18th century France, the fanfare was a piece of music with energy and repeated notes. Modern fanfares come from the 19th century in Britain where they were written for important state events such as the crowning of a king or queen. Hubert Parry wrote a fanfare, "I Was Glad", for the coronation of Edward VII.