Since Bulgakov was refused permission to publish his most important works, he pleaded with Stalin to be allowed to leave the country. Stalin personally arranged for a job for him at the Moscow Arts Theatre. Bulgakov was still writing and re-writing his uncompleted novel, "The Master And Margarita", when he died in 1940.