Input (grade 6): In 1222, Cordes received its charter to become a "bastide" (fortified town) from the Count of Toulouse.
Output (grade 4): The fortified town (bastide) was built in 1222 by the Count of Toulouse.