Miscarriage

Does anyone know or had any experience with this?

I know someone who had chlamydia almost two years ago. They got pregnant about a year and a half later and then had a miscarriage. Does anyone know if the infection could have caused the miscarriage? Thanks for any input!