This war of attrition ended in 1739, when agreement was reached between the two sides.
The two sides reached an agreement which ended the war.
The war raged on for decades, never coming to a clean conclusion. 