According to a commonly accepted definition, affirmative action refers to policies that take factors including race, color, religion, gender, sexual orientation or national origin into consideration in order to benefit an underrepresented group, usually as a means to counter the effects of a history of discrimination. [emphasis mine] [source]