Foxes were domesticated by humans in the Bronze Age. In the northeast of the Iberian Peninsula, between the third and second millennium BC, a widespread funeral practice consisted in burying humans with animals. Scientists have discovered that both foxes and dogs were domesticated, as their diet was similar to that of their owners. Source 4a.