A year later, the family returned to Moscow, remaining there after Herzen had completed his studies at Moscow University. In 1834, Herzen and his lifelong friend Nikolay Ogarev were arrested and tried on charges of having attended a festival during which verses by Sokolovsky that were uncomplimentary to the tsar, were sung. He was found guilty, and in 1835 banished to Vyatka, now Kirov, in north-eastern Russia. He remained there until 1837, when the tsar's son, Grand Duke Alexander (later to become tsar Alexander II), accompanied by the poet Zhukovsky, visited the city and intervened on his behalf. Herzen was allowed to leave Vyatka for Vladimir, where he was appointed Editor of the city's official gazette. In 1837, he eloped with his cousin Natalya Zakharina, secretly marrying her.