What criteria might be used to establish someone as an expert witness?

What criteria might be used to establish someone as an expert witness?