From the original nominal use of on (now replaced by homme). This pronoun has traditionally been assessed as a euphonic prosthesis (in particular after que), but the form is in fact found in free variation, including at the beginning of sentences in very formal usage.