A catheter includes a shaft for insertion into anorgan of a patient, and an extendable distal-endassembly. The distal-end assembly is coupled to the shaftand includes multiple splines. At least one splineincludes one or more electrodes and at least one strain-reliefelement that is configured, when the distal-endassembly is extended in the organ, to allow the spline toconform to a surface of the organ so as to make contactbetween the electrodes and the surface.