He also maintained his socialist ideas, and when he learned about the revolutionary situation in France, he returned to his home country and joined the Commune of Paris, serving for a short period as personal secretary of Commune leader Louis Charles Delescluze.