Original: When Serbia accepted nine of the ten demands but only partially accepted the remaining one, Austria–Hungary declared war.
Simplified: Serbia accepted nine of the ten demands but only partially accepted the other one.