Normally you would remove active directory domain services which you can still do assuming it has not tombstoned. Another method, if its no longer available, is to simply do metadata cleanup to remove it from active directory.
https://video2.skills-academy.com/en-us/windows-server/identity/ad-ds/deploy/ad-ds-metadata-cleanup
--please don't forget to Accept as answer if the reply is helpful--