The Manatee County School District has canceled a contract with Sarasota Security Patrol.

The guards had been hired to work in the county's elementary schools but a lawsuit said the district violated state sunshine laws when it looked over proposals.

The contract ends October 31.