What is the name of the county seat of Herat that was disestablished in 1-1-1507?
SELECT ?answer WHERE { wd:Q45313 wdt:P1376 ?answer . ?answer wdt:P576 ?x FILTER(contains(YEAR(?x),'1507'))}
herat: Q45313