From 1982 to 1986 he was a representative to the Bavarian secretary of the state and then a minister of state from 1982 to 1988 . From 1982 to 1986 he served as deputy to the Bavarian secretary of the state and then as minister of state from 1982 to 1988 .