user
Given two sentences, determine which one is written in active voice and which one is written in passive voice.

He pushed the door.
The door was pushed by him.


assistant
The first sentence is in active voice, and the second is in passive voice.