An arrest has been made in connection with a shooting near Barclays Center last week.

Jonathan Cordoba of Brooklyn faces a long list of charges, including assault and criminal possession of a weapon.

Police say Cordoba got into an argument last Wednesday afternoon at the busy intersection of Atlantic Avenue near Flatbush Avenue.

According to police, he took out a gun and fired several shots, hitting a man in the ankle.

It's not clear if that man was involved in the argument, according to police.

The victim was treated at a nearby hospital.