In 1846 ( a year before he died ) the festival commissioned him to write his oratorio Elijah .
For the 1846 festival he composed and conducted the premiere of his oratorio Elijah , another new work commissioned by the Festival .