A $2 million settlement has been reached in the federal civil rights lawsuit filed by the family of Antwon Rose, an unarmed black teenager who was killed last year by a white police officer during a traffic stop in East Pittsburgh, Pa., a lawyer for the family confirmed Tuesday night.

The lawyer, S. Lee Merritt, said the amount was the maximum that East Pittsburgh could pay under its insurance policy.

The law firms representing the family, Rabner Law Offices and McEldrew Young, will receive $400,000 each as well as reimbursement costs, The Pittsburgh Post-Gazette reported, citing Allegheny County court records.

Mr. Merritt said the Rose family “wasn’t particularly happy’’ with the settlement, “but it was the most the city could do.”