The document you referenced is the Ordinance of Secession from South Carolina, which was adopted on December 20, 1860. This declaration followed the election of Abraham Lincoln as U.S. President, which happened earlier that November. Therefore, the correct answer is:
D) following the election of Abraham Lincoln as the U.S. President.