Up to which period there was no distinction made between science and philosophy?

Up to which period there was no distinction made between science and philosophy?