He was caught by a stop-and-search operation