While being help in prison before conviction, King's DNA was logged and used in court. Unfortunately for King his DNA matched the DNA of a male who took a woman without her consent.
The supreme court ruled King's right to privacy (4th Amendment) was more critical than Maryland's interest in convicting him for his crime. Odd case.