Input (grade 7): Founded in 1742, it became the provincial capital in 1840.
Output (grade 8): San Fernando was founded in 1742, and became the provincial capital in 1840.