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.