Quick action by the government has helped preventwidespread infection – and turned the tide of public distrust.