D) preserve the union.
During the Civil War, President Abraham Lincoln justified invoking emergency powers, including the suspension of habeas corpus, by arguing that these measures were necessary to preserve the union and ensure the continuation of the government during a time of national crisis.