Wasn’t Battlefield Earth one of L. Ron Hubbard’s novels?
Yes, and the novel is actually great. He wrote it intending it to be a movie. Not the movie that was made, however.