Sentence 1: With the Ostrów agreement , this was decided -- Vytautas became the Grand Duke of Lithuania , while Jogaila retained the rights of an overlord .
Sentence 2: This was resolved with the Ostrów Agreement -- Vytautas became the Grand Duke of Lithuania while Jogaila retained rights of an overlord .
Question: Do Sentence 1 and Sentence 2 express the same meaning? Yes or No?