While in Torino in June 1864, Kvaternik met with Ante Rakijaš, a former military cadet who had deserted. Rakijaš, a Croatian nationalist educated in Graz, served as Kvaternik's main assistant. In November 1864 both of them planned a revolt that would occur in spring 1865. Rakijaš obtained a fake passport and moved from Torino to Ancona, waiting for a chance to enter Dalmatia. In early 1865 he went to Brač, and from there to Split and later to Sinj, from where he went to Knin. In Knin, he tried to instigate an uprising. He failed and was arrested and sentenced to eleven months in prison in Zadar.