Etymology
Today it means: When; at the time (which). Full definition →
From when + as.
Etymology from Wiktionary, CC BY-SA 4.0.