The killing of an unarmed black 18-year-old by an officer in a nearly all-white police department in suburban St. Louis refocused the country on the racial balance between police forces and the communities they protect.
But an analysis by The Associated Press found that the racial gap between black police officers and the communities where they work has narrowed over the last generation, particularly in departments that once were the least diverse.