INDIAN RIVER COUNTY — A man was arrested after shooting into a vehicle Tuesday morning in Gifford, prompting three area schools to be locked down, according to the Indian River County Sheriff's Office.

Richard Earl Peterson III, 23, of the 1800 block of Woodland Circle, was charged with two counts of attempted murder and possession of a firearm by a felon.

Deputies responded at 8:51 a.m. to 42nd Street and 27th Avenue after receiving a report of gunfire.

No one was injured and Peterson was in custody by 9:45 a.m., said Sheriff's Office spokesman Maj. Eric Flowers.

Dodgertown Elementary School, Gifford Middle School and St. Peter's Charter School were all placed into code yellow, a precautionary lockdown, until Peterson was caught, he said.

No further details about the incident were immediately available.

Peterson spent nearly three years in prison after being adjudicated guilty in 2014 of aggravated assault, discharging a firearm in public, and possession of a firearm after being found delinquent.

He was released in May, according to the Florida Department of Corrections.

More:Indian River Boulevard shut down for hours in Vero Beach after serious crash

More:Indian River deputies apprehend 6 in Saturday stolen vehicle case

More:Gifford Youth Achievement Center expansion likely to open this summer