What was the last major style of jazz before rock n roll?

The style of jazz that evolved into rock and roll was rhythm and blues. There were several transitional figures who did it, most notable Chuck Berry.