A suspect in a two-year-old murder case escaped from a Brooklyn police precinct early Thursday, injuring one police officer during his getaway, officials said.

The suspect, Brandon Santana, 24 years old, was arrested on Wednesday in connection with the beating death of Alexander Santiago, who was 22 years old at the time of his death on Aug. 1, 2010, police said.

Police declined to detail how Santana was able to flee the 78th Precinct stationhouse in Park Slope at about 2 a.m., saying only he had scuffled with an officer who was treated for minor injuries at Methodist Hospital.

Santana, whose last known address was on 29th Street in Sunset Park, is described by police at 5-foot-11 inches tall, about 200 lbs with short black hair and brown eyes. He was wearing a brown hooded jacket, blue jeans and white sneakers at the time of his escape, police said.

Police officials declined to say what role Santana allegedly played in the murder of Santiago, who was attacked by a large group of men on Fifth Avenue near 12th street on a balmy August night.

He was stabbed in the chest and hit in the head with a heavy tire iron during the melee, police said. Santiago’s friend was also stabbed and wounded during the fight.

“It was a casual Saturday night hangout,” Roberto Santiago, 40, an uncle of the victim, said at the time of the incident. “It’s a sad random act of violence.”

The uncle said Alexander Santiago’s wife had been pregnant at the time of his death and that Santiago was “very much looking forward to becoming a father.”

Police declined to say on Thursday if Santana had been the first person arrested in connection with Santiago’s slaying.