Input (grade 4): He served in the House from 1805 â "1809, in the 8th, 9th, and 10th Congresses).
Output (grade 3): He served in the House from 1805-1809, in the 8th, 9th, and 10th Congresses.