Which sentence contains a misplaced modifier?

A.) Cought wearing the stolen goods, the girl was arrested by the police.
B.) Cought wearing the stolen goods, the police arrested the girl.