The debate as to where "magic" ends and "religion" begins is an old one, and it appeared to have been settled some decades ago when scholars concluded that no discernible boundary was to be found. As a result, the two were often lumped together in the adjective "magico-religious"...
Man's Rise to Civilization (1968)