Władysław Jagiełło gave the rights to Dobrzyń to pledge to the Teutonic Knights , causing a legal conflict between Poland and the Teutonic Order which only ended on June 10 , 1405 , when Dobrzyń was bought by Poland .
PROPN PROPN VERB DET NOUN ADP PROPN PART VERB ADP DET PROPN PROPN , VERB DET ADJ NOUN ADP PROPN CCONJ DET PROPN NOUN DET ADV VERB ADP PROPN NUM , NUM , ADV PROPN AUX VERB ADP PROPN .