An Endicott man has pleaded guilty to second-degree murder in connection with a homicide in Johnson City last summer.

Brandon Rose admitted he shot and stabbed Omar Terry during a dispute on July 24.

Officers said the attack happened while they were inside a car traveling along New York State Route 17, which led to the vehicle crashing in a wooded area near the highway. 

Sentencing is set for July 27.