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