City police said they think they've cracked a five-month-old homicide case.

A Putnam County teenager was charged Friday with fatally stabbing Donald Gooding, 32, of Troy earlier this year.

Troy police traveled to Brewster to arrest Xavier Parker, 18, in connection with the death of Gooding, who died of knife wounds in Samaritan Hospital on March 9 after being stabbed inside a home at 339 Third St., according to police.

"Patrol officers and detectives worked hard to get to the facts about this case on that day and for many days after," Troy Police Capt. Dan DeWolf said in an email. "Detectives, along with the Rensselaer County District Attorney's Office, continued that investigation."

Parker was charged with manslaughter and criminal possession of a weapon, police said. Arraignment in Rensselaer County Court will be Monday.