What happened after Lincoln became president?