Prior to 1960, Mahler was a member of the Social Democratic Party of Germanyand the leftist students' association Sozialistischer Deutscher Studentenbund.
Prior to 1960, Mahler was a member of the Social Democratic Party of Germany. He represented the Ausserparlamentarische Opposition and was a member of the Sozialistischer Deutscher Studentenbund.