Utilitarianism holds that an action is right if it maximizes happiness for the agent and for everyone affected. Accordingly, in the trolley problem, it would be right for the trolley driver to redirect the runaway vehicle so that only one person is killed instead of five; it would also be right for a magistrate to execute one innocent person to save five others. By most people’s intuitions, however, the first action would be right and the second would be wrong. Because utilitarianism seems unable to rationally reconcile those intuitions, the trolley problem has been used to critique it.