In one well-known study on empathy, participants were given…

In one well-known study on empathy, participants were given the option of (a) leaving the study, or (b) switching places with a confederate who was receiving random electrical shocks but was very upset by them (because of a negative childhood experience she had with electricity). Participants were given this option after having been told that their values and interests were similar to those of the confederate or after having been told that their values and interests were different from those of the confederate. What were the results of this study?​