Input (grade 10): In 1828 he was elected to the lower house of the New Hampshire General Court, the New Hampshire House of Representatives.
Output (grade 9): Before running for president, he came from New Hampshire and had served in the House of Representatives.