POE 1: It was an election year [that Poe was court-martialled].
POE 2: It was not an election year. President Jackson was to serve five more years.
President Andrew Jackson, previously discussed.
He became president in 1829 and was in office until 1837, so in 1831, President Jackson actually had six more years to serve, not five. Both Poes manage to be incorrect this time.