Answer:
they sent an ultimatum to Serbia and declared war afterwards after Serbia refused some of the points.
Explanation:
The ultimatum essentially gave Austria-Hungary control over Serbia, which Serbia didn't want, though Serbia accepted most (not all) of the points.