1. As it became darker, he turned the light on.

2. When it became darker, he turned the light on.

3. Because it became darker, he turned the light on.

4. After it became darker, he turned the light on.
--------------------------------------
What does #1 mean? #2, 3, or 4?

#1 means the same as all three of the others, yes.