Gregory, who announced last week he’s retiring after 25 years as legislative counsel, is a political force at the Statehouse who oversees a 75-lawyer staff that drafts bills, amendments and legal opinions for the state Senate and Assembly. His office also provides legal services for the Legislature and represents it in litigation.

Money, Gregory said, is at the heart of his decision — he says his retirement package will pay him more annually than his current $137,000 a year salary because of quirks in the state employee pension plan.