Complex sentence: He stuck with this story until the policeman asked to search his bags; the stranger then confessed: That will not be necessary.
Split into simpler sentences: He stuck with this story until the policeman asked to search his bags. At this moment, the stranger confessed by saying: That will not be necessary.