Context:The police arrested all of the gang members . *They* were trying to stop the drug trade in the neighborhood.

Is "They" the same as "The police"?
yes