By CBSBoston.com Staff

WOBURN (CBS) — A 22-year-old Woburn man who allegedly shot a friend by accident appeared before a judge on Monday. Police said Alec Augustino Braz had just received his license to carry when he shot his friend in the neck while showing him a new gun.

He is charged with assault and battery with a dangerous weapon, discharging a firearm within 500 feet of a building, and improper storage of a firearm.

READ MORE: Service Resumes On Green Line Hours After Trains Crash In Boston

At Monday’s arraignment, a judge set a $5,000 cash bail. Braz’s release conditions include that he stay away from the victim.

Alec Augustino Braz appeared before a judge Monday (WBZ-TV)

The shooting occurred Saturday inside a home on Mt. Pleasant Street in Woburn.

READ MORE: 16-Year-Old Bicyclist Hit And Killed By Pickup Truck In Ipswich

The 19-year-old who was shot in the neck was taken to a hospital by a friend.

Police seized Braz’s .40-caliber Smith and Wesson pistol and his license to carry was immediately suspended.

MORE NEWS: 'People Were Thrown On The Floor': 25 Injured After Green Line Trains Crash In Boston

A pretrial date was set for August 18.

CBSBoston.com Staff