Original: In 1978 Stoiber was elected secretary general of the CSU, a post he held until 1982/83.
Simplified: In 1978 Stoiber was elected secretary general of the CSU, which he stayed until 1982/83.