A Brooklyn convict was sentenced to more than 100 years in prison on Thursday for shooting at several police officers who were responded after the man pulled a gun on movers and barricaded himself inside his apartment with his girlfriend and baby, according to the Brooklyn district attorney's office.

Nakwon Foxworth, 36, was convicted of several charges, including two counts of aggravated assault, last month for the 2012 incident.

Police were called when Foxworth, from Sheepshead Bay, first pulled a gun on movers after some items were left in the hallway near his apartment on April 8, 2012. He then went back inside his own apartment that he had shared with his girlfriend, Jessica Hickling, and their 10-month-old son.

About an hour later he allowed Hickling and the baby boy to leave. He then started shooting at the officers, according to the Brooklyn DA's office.

Officer Matthew Granahan was shot in the leg, Officer Michael Keenan was shot in the knee, and Officer Kenneth Ayala was shot in the pelvic area and the foot.

Three guns were found inside his apartment. He was deemed a persistent violent felony offender.

Foxworth was sentenced to 110 years to life. .