The older DC-9s are still called DC-9. The “MD-80” started with the DC-9-80 airframe.
I thought the MD-80 was a DC-9 with some updates and different engines.