Input: The successor of the district currently represented by Democrat Chellie Pingree held what position in the War of 1812 ?
Output: Captain of artillery