Five people have been jailed for their roles in the ordeal.