President Zachary Taylor died suddenly after sixteen months in office, likely from acute gastroenteritis, and Vice President Millard Fillmore assumed the presidency. Taylor's death removed the last obstacle to the Compromise of 1850, which his successor promptly signed into law. The deal temporarily averted civil war by admitting California as a free state while strengthening the Fugitive Slave Act.