The given sentence is divided into four segments. Identify the segment that contains a grammatical error.
When I returned to the office, / no work was left / as my friend Rahul / has done everything.
1
When I returned to the office,
2
as my friend Rahul
3
has done everything
4
no work was left