<human>:  Who was the president at the time of the Kansas–Nebraska Act of 1854?
<bot>: The Kansas–Nebraska Act was signed by President Franklin Pierce. It was a law that allowed residents of Kansas and Nebraska to decide whether they wanted to join the Union as free or slave states. The act was controversial and was strongly opposed by southerners.