Five former and current employees have sued Bank of America Corp., alleging it discriminated against African-American brokers and bankers in promotion, compensation, mentoring and other employment opportunities.

The lawsuit, filed Thursday at a federal court in Massachusetts, alleges the country’s second largest bank by market capitalization gave black brokers and bankers inferior positions and less favorable assignments than were given to their white counterparts.