A 35-year legal battle has finally come to an end for the Maricopa County Sheriff's Office.
A federal judge ended its court-ordered supervision of Sheriff Joe Arpaio's county jails.
At issue -- food quality and sanitary conditions.
The ruling stems a lawsuit filed all the way back in 1977, by three inmates, long before Arpaio ever became sheriff.
The courts took up the case again in 2008, saying the jails were still below minimum standards.
Since then, the sheriff's office has been working to meet those standards.
"I'm very happy that this has been resolved after all these years. I've said many many times we run a safe excellent jail system, I think that this is at least one step to confirm that," said Arpaio.
Since then, the sheriff's office has tried to meet the court's standards by reducing crowds in holding cells, giving inmates in the Durango jail cleaning supplies, and even hiring a dietitian to assess the jail menu.