 On September 29, 1379, a ten-year truce was signed in Trakai.It was the last treaty that Kęstutis and Jogaila signed jointly.However, the truce protected only Christian lands in the south, thus Kęstutis' pagan realms in northern and western Lithuania were still vulnerable to Teutonic attacks.