Yes, the story of the film is adapted from the non-fiction novel "Horse Soldiers" written by Doug Stanton.