charles porter mattocks (october 11, 1840 – may 16, 1910) was a colonel in the union army. he was given the medal of honor for his actions in the american civil war. he was born in danville, vermont and served in the 17th maine infantry during the american civil war. after being captured by the confederate states army he was a prisoner of war for nine months in danville, virginia. later, he commanded the maine state militia and fought as a brigadier general during the spanish–american war. he was elected to the maine house of representatives in 1880, was a county attorney for cumberland county, maine, and argued a case in the supreme court.