The state Assembly’s longest-serving member is retiring after more than 50 years.

Richard Gottfried was first elected in 1970 and began representing the West Side of Manhattan at the age of 23. He currently serves as the powerful chair of the Assembly health committee.

Gottfried, who is 74, will not run for reelection in 2022, and will instead retire at the end of this term, which concludes next December.

Gottfried is considered one of the more cerebral members of the lower house and is known to write his own bill language.

There’s no word yet on who wants to replace him.