Complex sentence: Himself, he even participated as a volunteer in the Battle of Dybbøl in April 1864, and after being demobilized from the war in August 1864, he walked back to Rome.
Split into simpler sentences: Himself, he even participated as a volunteer in the Battle of Dybbøl. After demobilizing from the war, he walked back to Rome.