Forensic science is an integral part of criminal justice. In order for someone to be an established expert witness, he must first of all possess certain knowledge in this field that is very demanding, that is, education. He must then have a relevant experience, which he acquires through working with his older colleagues, to publish his works, providing relevant references to his work and experience, as well as a proven degree of integrity.
The answer is: all of the above.