单项选择题

The thief tried to steal the lady's purse ______ by the police.

A.being captured
B.only to be captured
C.unfortunately captured
D.had just been captured