Off the top of my head, he got away with it due to:
The best team of lawyers money could buy who created so much doubt around the prosecution case.
Poor techniques by the forensic team during the blood sample collection
One of the detectives (Mark Fuhrman) was recorded using a racist word so his vital evidence was discredited.
The 'glove doesnt fit' moment which sealed his acquittal.