The following item features one part of the sentence followed by four alternatives. Complete the sentence by choosing the correct alternative.
Scarcely had the passengers boarded the plane
1
than the captain welcomes them.
2
when the captain had welcomed them.
3
that the captain welcomed them.
4
when the captain welcomed them.