Which martial art or arts did Brazilian jiu-jitsu derive from?

Brazilian jiu-jitsu was derived from judo and catch wrestling.