With no explanation, label each line with "location-GPE", "O", "event-attack/battle/war/militaryconflict", "art-broadcastprogram", "art-film", "art-music", "art-other", "art-painting", "art-writtenart" or "building-airport" preceded by ":".
He
took
over
the
throne
after
the
Patrona
Halil
rebellion
and
he
kept
good
relations
with
Mughal
and
Safavid
Empires
.
He:O
took:O
over:O
the:O
throne:O
after:O
the:O
Patrona:event-attack/battle/war/militaryconflict
Halil:event-attack/battle/war/militaryconflict
rebellion:event-attack/battle/war/militaryconflict
and:O
he:O
kept:O
good:O
relations:O
with:O
Mughal:location-GPE
and:O
Safavid:location-GPE
Empires:location-GPE
.:O