On Friday, as the White House made the essentially symbolic gesture of appointing a "czar" to contain the American outbreak, some 4,000 miles to the east, Senegal was declared free of Ebola by the World Health Organization. In a statement, the U.N. agency praised the West African country's response as "a good example of what to do when faced with an imported case of Ebola."

So how did Senegal, which neighbors Guinea—one of the countries hardest hit by the largest Ebola outbreak on record—manage to successfully contain the deadly virus? Here's how Ebola coursed into and then out of Senegal:

On August 29, the first case of Ebola was confirmed after a student, despite a closed border, traveled by road from Guinea to a hospital in the Senegalese capital of Dakar. According to The Guardian, the man sought treatment, but did not disclose that he might have Ebola. "The next day, an epidemiological surveillance team in Guinea told Senegalese authorities that they had lost track of a person who had had contact with sick people."

After the student was tracked to the hospital in Dakar, according to AP reports, Senegal's response next involved "identifying and monitoring 74 close contacts of the patient, prompt testing of all suspected cases, stepped-up surveillance at many entry points and public awareness campaigns."