WOODBURY — Donald D. Segar, 22, of Newtonville, was sentenced Friday, Dec. 19 to serve eight years in prison on assault and weapons charges for a Feb. 17, 2013 confrontation with his girlfriend in Woodbury.

Witnesses had testified that Segar choked the woman and fired shots into the apartment ceiling while the woman’s 1-year-old daughter was in the room.

Segar was convicted in a jury trial on Oct 2, 2013 of aggravated assault with a firearm, threat to kill, endangering the welfare of a child, unlawful possession of a weapon, possession of a weapon for an unlawful purpose and certain persons not to have weapons because of a prior narcotics conviction in Atlantic County, authorities said.

On that final charge, Superior Court Judge Paul Porecca sentenced Segar to eight years. He must serve five before being eligible for parole.

The other weapons charges and the endangering charge also drew eight year sentences, but they will be served concurrently. Segar also received a concurrent 18-month sentence for the assault and four years for the threat conviction, also a concurrent sentence.