The first automatic electric fire alarm was patented in 1890 by Francis Robbins Upton, an associate of Thomas Edison.