Read the sentence below to find out whether there is any grammatical error in it. The error, if any, will be in one part of the sentence. Choose the option with that part as your answer. If there is no error, choose 'D' as your answer. (Ignore the errors of punctuation, if any).

The police broke upon the robbers when they were in the lonely place to divide their booty.

A.

The police broke upon the robbers

B.

when they were in the lonely place

C.

to divide their booty.

D.

No error.

Correct answer is A

The police came upon the robbers