Police thanked members of the public who helped.