Morgan Stanley said Tuesday it has settled a gender bias class action suit that alleged the New York investment bank discriminated against female brokers and trainees in promotion and compensation.

Under the terms of the settlement, subject to the approval of the U.S. District Court for the District of Columbia, the company set aside $46 million to pay claims of discrimination.