Original: He then was elected Senator (1987-1992), authoring the seminal Local Government Code.
Simplified: He then was elected Senator (1987-1992).