New York City has settled with the family of an unarmed black teen fatally shot by police in 2012, agreeing to pay $3.9 million, officials said on Friday.Ramarley Graham, 18, was shot dead on Feb. 2, 2012 inside the bathroom of his Bronx apartment after being followed by police officers who said they believed he was carrying a gun."This was a tragic case," New York City Law Department spokesman Nicholas Paolucci said in an email."After evaluating all the facts, and consulting with key stakeholders such as the NYPD, it was determined that settling the matter was in the best interest of the city," he added.The officer, Richard Haste, was indicted for the fatal shooting in June 2012. Police said several officers who had seen Graham on the street - including Haste - suspected he had a gun because of the way he moved his hands near his waist.Haste and a partner followed Graham to his apartment building and kicked down his apartment door. Haste shot Graham in the chest in a bathroom, police said.In May 2013, a judge dismissed the charges, ruling that prosecutors gave the grand jury improper instructions.