Contingency theory proposes that leadership effectiveness depends on how well a leader's style fits the context. It identifies leadership styles as task-motivated or relationship-motivated and situational variables as leader-member relations, task structure, and position power. Research found that task-motivated leaders are most effective in highly favorable situations while relationship-motivated leaders work best in moderately favorable situations. The theory can predict leadership effectiveness by assessing the leader's style and situational variables.