The film's screenplay was loosely inspired by the true story of famous Polish writer and historian Pawel Jasienica. It was discovered after many years from his death that his beloved wife had been a communist agent. She is said to have provided the secret service with useful information about her husband and the people who surrounded him.