In a letter published in the Salt Lake Daily Tribune, the claim is made that D&C 87 was the result of Joseph responding to the secession crisis of 1832.
"The Prophet Joe Smith," The Salt Lake Daily Tribune 5, no. 141 (April 8, 1874): 2
In the fall of 1832, a State Convention held in South Carolina, declared certain acts of Congress imposing import duties on foreign goods unconstitutional, and therefore null and void. It was furthermore declared that if Congress should attempt to enforce such acts by the collection of duties upon foreign goods imported into the sea-coast cities of South Carolina, that the State would immediately pass an ordinance of secession, withdraw from the Union, and set up an independent form of government. . . . a bright idea struck him. Here was a splendid show to build up a cheap reputation as a Prophet.