Elephantiasis is caused when a filarial nematode, transmitted by mosquitoes, lodges in the lymphatic system.