The mask is known to have been used since the time of Aeschylus in the 6th century AD. It is one of the typical things they did in classical Greek theatre. Masks were also used in the worship of Dionysius, and that is probably how the tradition started.