 During his stay in Switzerland, he also met his future wife Anna Sieroszewska (sister of Wacław Sieroszewski), with whom he had a son, Tadeusz.In 1882, Waryński returned to Warsaw, where he created the first Polish workers' party, called The Proletariat.In 1883 he was arrested by the Tsarist secret police and, after a trial with 29 co-defendants in 1885, sentenced to 16 years in prison in Shlisselburg.