In the given sentence, identify the segment which contains a grammatical error.
As soon as the bus driver was seeing the child crossing the road, he applied the brakes.
1
was seeing the child
2
he applied the brakes
3
As soon as the bus driver
4
crossing the road