Fill in the gaps with the Past Perfect of the verbs given.
1. When I got to the station, the train---------------------- [already / leave].
2. Before I lost my wallet I -------------------- [lose] my umbrella.
3. By the time the doctor arrived, the patient ------------------------- [die].
4. When Anna phoned, I -------------------------[leave] to work.
5. Before Sara crossed the road, she ------------------------ [look] both ways.
6. Before I had a driving license, I ------------------------- [have] a driving test.
7. Before he ------------------------- [fill] in the application form, he looked for job offers in the newspaper.
8. When I looked up, the burglar ------------------------- [go]