The Master and Margarita () is a novel by Russian writer Mikhail Bulgakov, written in the Soviet Union between 1928 and 1940 during Stalin's regime. A censored version was published in "Moscow" magazine in 1966–1967, after the writer's death. The manuscript was not published as a book until 1967, in Paris. A "samizdat" version circulated that included parts cut out by official censors, and these were incorporated in a 1969 version published in Frankfurt. The novel has since been published in several languages and editions.