The kings of Kashmir were related to the Shahis through marital and political alliance.

Entity and relation annotations:
id: 0
type: entity
value: text: Kashmir
labels: <Location>
id: 1
type: entity
value: text: Shahis
labels: <Location>
id: 2
type: entity
value: text: The kings of Kashmir
labels: <Organization>
type: relation
to_id: 0
labels: Organization:located_in:Location
from_id: 2