the polish nobles were unhappy that their new king spent too much time on lithuanian affairs. it was clear that the war could continue for years and would not bring any benefit to poland. in 1392, jogaila sent henry of masovia with an offer to make vytautas regent instead of skirgaila. vytautas accepted and again broke with the order. he burned three teutonic castles and returned to vilnius. jogaila and vytautas signed the astrava treaty in which vytautas recovered all kęstutis' lands, including trakai, and was given more. vytautas would rule lithuania in the name of jogaila. after vytautas' death, all his lands and powers would revert to jogaila.