A Broome County resident is heading to state prison after he admitted possessing a loaded handgun on Binghamton's West Side.

21-year-old Tariq Johnson of Johnson City was sentenced in Broome County Court on Tuesday to 5 years in prison. Prosecutors say Johnson pleaded guilty to second-degree criminal possession of a weapon.

Authorities had said Johnson was taken into custody shortly after a May 20 shooting incident at Saratoga Avenue and Delmar Street on Binghamton's South Side.

City police stopped Johnson on Jerome Avenue on the West Side.

Investigators said a 15-year-old boy was charged with attempted murder in connection with the shooting in which several shots reportedly were fired. The boy's name was not made public and the status of his case was not known.

Related: Boy Charged with Attempted Murder in Binghamton Shooting

Enter your number to get our free mobile app

Contact WNBF News reporter Bob Joseph: bob@wnbf.com or (607) 772-8400 extension 233.

For breaking news and updates on developing stories, follow @BinghamtonNow on Twitter.

PHOTOS: Scene at U.S. Capitol shows chaos and violence