They also allied with Brandenburg against Władysław I Łokietek , and after the death of Louis I of Hungary waged war against the Grzymalites , attempting to put Ziemowit III of Masovia forcibly on the throne of Poland .
PRON ADV VERB ADP PROPN ADP PROPN PROPN PROPN , CCONJ ADP DET NOUN ADP PROPN PROPN ADP PROPN VERB NOUN ADP DET PROPN , VERB PART VERB PROPN PROPN ADP PROPN ADV ADP DET NOUN ADP PROPN .