The peak–end rule was first established by Daniel Kahneman and others in 1993. In the experiment, participants were divided into two groups. They had to undergo an unpleasant experience. Everything else was the same, except for one group who had to go through an extra, less unpleasant experience at the end. Let us call this group Group B and previous group Group A.