You will be given a definition of a task first, then some input of the task.
Given a sentence in Tagalog language, translate the sentence to English language keeping the meaning of the original sentence intact.

Tagalog sentence: Ang Medes at Lydians, kapag sila ay napagmasdan na ang pagbabago, ceased labanan, at matinding pagkabalisa ay kahawig na magkaroon ng mga kataga ng kapayapaan sumang-ayon sa.
Output:
The Medes and Lydians, when they observed the change, ceased fighting, and were alike anxious to have terms of peace agreed on.