4340 is a stronger and tougher (as in fatigue resistance) alloy than 5140.

Kitz