Tolstoy was born in Yasnaya Polyana, the family estate in the Tula region of Russia. The Tolstoys were a well-known family of old Russian nobility. He was the fourth of five children of Count Nikolai Ilyich Tolstoy, a veteran of the Patriotic War of 1812, and Countess Mariya Tolstaya (Volkonskaya). Tolstoy's parents died when he was young, so he and his siblings were brought up by relatives. In 1844, he began studying law and oriental languages at Kazan University. His teachers described him as "both unable and unwilling to learn." Tolstoy left university in the middle of his studies, returned to Yasnaya Polyana and then spent much of his time in Moscow and Saint Petersburg. In 1851, after running up heavy gambling debts, he went with his older brother to the Caucasus and joined the army. It was about this time that he started writing.