During the Revolutions of 1848, Hedrich was elected to the Frankfurt parliament representing the northern Bohemian district of Tannwald in the Jizera Mountains. He sat with the extreme left although, according to Meissner, he took little active part in the business of the parliament. In May 1849 he went with the so-called ‘Rump Parliament' to Stuttgart.