A. The Department of Education issued guidelines for school security. They were trying to anticipate problems and avert disaster.
B. Trying to anticipate problems and avert disaster, the Department of Education issued guidelines for school security.
b
The plural pronoun They does not agree with its antecedent, Department of Education.