An outbreak of Legionnaire’s disease at a Lisbon suburb that has killed 10 people and infected over 300 others over the past two weeks has ended.

The outbreak—which the World Health Organization last week called a “major public health emergency”—started on November 7 with an initial case detected in Vila Franca de Xira, about 30 kilometres (20 miles) north of Lisbon, according to the general directorate for health.

The authorities say the outbreak was very likely caused by bacteria found in the refrigeration system of a fertiliser factory Adubos de Portugal.