Officials say the school district in Atlanta has agreed to repay more than $363,000 in federal money the district won by teachers and administrators cheating.

State schools Superintendent John Barge told The Associated Press on Friday that the district has 90 days to return the money.

A state investigation in July revealed widespread cheating by educators in nearly half of the Atlanta's 100 schools dating back to 2001. In all, nearly 180 teachers and principals were accused of giving answers to students or changing answers once the tests had been completed.

Schools serving low-income students that consistently get good test scores receive extra money from the U.S. Department of Education each year. That money can be spent wherever the schools need it most.