Kazembek's family stayed in Rasht until 1811, when they moved back to Derbent. There, Kazembek's father was appointed chief judge by the Tsarist authorities. However, in 1820, Mirza Mohammad Qasim was charged with espionage on behalf of Persia, deprived of his religious title and exiled to Astrakhan along with his wife.
Kazembek's family resided in Rasht until 1811, when they moved back to Derbent. Kazembek's father became chief judge under Tsarist rule. Mirza Mohammad Qasim was accused of espionage for Persia and exiled to Astrakhan along with his wife.