Input (grade 12): The war ended on the insistence of the Entente in mid-September (negotiations took place in SuwaÅ ki in early October).
Output (grade 7): The war ended because of the Entente in mid-September.