how many years did abraham lincoln run for president?