Affirmative action policies are practiced around the world. This paper explores the welfare economics of such policies. A model is proposed where heterogeneous agents, distinguished by skill level and social identity, compete for positions in a hierarchy. The problem of designing an efficient policy to raise the status in this competition of a disadvantaged identity group is considered. We show that: (i) when agent identity is fully visible and contractible (sightedness), efficient policy grants preferred access to positions, but offers no direct assistance for acquiring skills; and, (ii) when identity is not contractible (blindness), efficient policy provides universal subsidies when the fraction of the disadvantaged group at the development margin is larger then their mean (across positions) share at the assignment margin.