The lights were switched on by the watchman before it began to grow dark. Given sentence is in simple past tense and it is in active voice. Rule : Subject + (was/were) + V2 + Other agents
From Voice · English Language Competence Test
You surprise me.
Each member of the academy was given a prize.
The king gave him a reward.
Why was he refused admittance?
They drew a circle in the morning.
Don't laugh at me.
Where do you keep the current magazines?
I am doing sums.