Justin Martin was arrested after he allegedly got into a gun fight with police officers in Boston earlier this week.

According to reports, police officers from the Boston Police Department arrived at the scene upon hearing gunfire. When they arrived, they said that they found the 21-year-old High School Musical 3 star and another man armed and attempting to flee the scene.

TMZ reported that when police began chasing the suspects the actor, who also starred alongside Denzel Washington in Flight, turned and pointed his gun but did not open fire.

However, his fellow assailant did begin shooting which caused the officers to fire back. The Soloist actor was chased down and was eventually caught and arrested.

Justin was charged with unlawful possession of a firearm, unlawful possession of ammunition, carrying a loaded firearm, and two counts of assault by means of a dangerous weapon.

Zac Efron’s former co-star has plead not guilty to all counts and his bail was set at €32,000. His mother spoke to TMZ and said that she is going to try and bail her son out.