Gynaecology & Obstetrics

A 27-year-old has just had an ectopic pregnancy. Which of the following events would be most likely to predispose to ectopic pregnancy?