You can catch it here. It is a nice addition, because the AI is diplo-wise fundamentally flawed, and prolonged periods of peace are impossible to achieve.
Other than that, you can delay the attack sometimes by sending gifts and such, but at the end ot the day, the AI will always DoW you if you share a border, sooner or later.
Bookmarks