The gang was caught after a special team was formed to investigate the robberies. The team used CCTV footage, mobile phone data and geo-tagging to track down the suspects. They conducted raids in different areas of Peshawar and eventually arrested the four members of the gang, including a woman.