The brutal treatment of Billy Hayes was the inspiration what film?

Question
The brutal treatment of Billy Hayes was the inspiration what film?
Answer
Midnight Express