 In 1835, after the Greek War of Independence, Kastellia became a part of the municipality of "Erineos", named after the ancient city.This municipality, part of the Parnassida Province, had 2,253 inhabitants.In 1872 the municipality was renamed to Dorieis.