he was elected congressman in the parliament of the kingdom of piedmont