<prompt> Translate the following text to SwahiliThis war of attrition ended in 1739, when agreement was reached between the two sides.  <response>: Vita hivyo vilimalizika mwaka wa 1739 baada ya makubaliano kati ya pande hizo mbili. 