With no explanation, label each line with "location-GPE", "O", "organization-politicalparty", "person-politician", "art-broadcastprogram", "art-film", "art-music", "art-other", "art-painting" or "art-writtenart" preceded by ":".
The
town
joined
the
Prussian
Confederation
,
which
opposed
Teutonic
rule
,
and
upon
the
request
of
which
King
Casimir
IV
Jagiellon
reincorporated
the
territory
to
the
Kingdom
of
Poland
in
1454
.
The:O
town:O
joined:O
the:O
Prussian:organization-politicalparty
Confederation:organization-politicalparty
,:O
which:O
opposed:O
Teutonic:location-GPE
rule:O
,:O
and:O
upon:O
the:O
request:O
of:O
which:O
King:O
Casimir:person-politician
IV:person-politician
Jagiellon:person-politician
reincorporated:O
the:O
territory:O
to:O
the:O
Kingdom:O
of:O
Poland:location-GPE
in:O
1454:O
.:O