Your peace treaty was very badly negotiated. "Peace till the endgame, last two standing" leaves way too much space for interpretation. I always make it a point to specify the number of turns I wish to have a no-attack treaty with my ally, and/or which continents we can each hold for ourselves, and ...