An Army veteran who was involved in a shooting incident last weekend at his family’s farm in Shapleigh was transferred Wednesday to a special holding unit in the Kennebec County jail for military veterans.

Robert Ferrera, 26, a former Army Ranger who served two tours of duty in Afghanistan, was taken to Augusta from the York County Jail, where he had been held since Sunday on charges of reckless conduct with a dangerous weapon and violating conditions of release.

The Kennebec County jail operates a program called the Incarcerated Veterans Initiative, which is designed to help veterans who have been diagnosed with service-related behavioral and medical conditions including post traumatic stress disorder.

York County Sheriff William King Jr. said deputies took Ferrera into custody after he began firing an assault rifle near his home. Ferrera surrendered peacefully after firing the AK-47 semi-automatic rifle 15 to 20 times, police said. No one was injured.

King said Ferrera’s bail has been increased to $20,000 cash.