From 1914, The Magnetic was the last published rag during Joplin's lifetime, written while he was dying from the latter stages of syphilis. It was published 3 years before he died, and considered to be perhaps his greatest, and darkest, rag.