In 1648 Doroshenko joined the forces of Bohdan Khmelnytsky in the uprising against the Polish domination of Ukraine. In the earlier stages of the uprising Doroshenko served in both a military and a diplomatic capacity. He primarily served in the Chyhyryn regiment, where he held the rank of artillery secretary, eventually being appointed colonel of the Pryluky regiment in 1657.