After winning a large sum of money in the lottery he decided to fully dedicate himself to writing a novel about Pontius Pilate and the last days in life of Yeshua Ha-Nozri.
After the investigation Master was freed but, having nowhere to live, no money and no purpose in life, he decided to find refuge in a mental hospital.
He gets back the burnt manuscript and gives the Master and his beloved Margarita a place for eternal serenity and retreat.
In both Russian and world literature Master became the epitome of the artist, the author, who opposes the official culture of his time.
Most scholars find the Master character hugely autobiographical: Mikhail Bulgakov burnt the first variant of his novel, and even after rewriting it, he realized that it was next to impossible to publish such an unorthodox book in the USSR.