Some time ago; beforehand; formerly.
From ere + while.
Practice speaking and memorizing "erewhile" and many other words and sentences in English.