SAN JOSE — Police have arrested a suspect linked to an attack where two officers were shot at in a Sunday encounter in East San Jose, amid a year that has seen escalating violence against police officers across the country.

Details about the arrest, including the suspect’s name and his exact role in the attack, were not immediately released by police. The officers targeted in the Sunday shooting were not hit.

Two officers were on foot patrol around 7:30 p.m. Sunday near Luby and Ripley drives, west of Independence High School, when they tried to contact a group of men.

The group scattered and ran off, but one of them turned around and fired multiple gunshots at the officers, who were not injured. An area search immediately after the attack did not locate any suspects.

Related Articles San Jose police officers fired upon; union offers reward for arrest

The San Jose Police Officers’ Association denounced what they called the “cowardly” act and offered a $10,000 reward for information leading to an arrest in the case. It was not immediately clear what kind of information led to the arrest revealed Thursday.

Police said the neighborhood where the officers were attacked has a history of gang issues, and a source told this newspaper that the officers were conducting gang enforcement when the shooting occurred.

Sunday’s attack occurred amid a rise in violence against police officers nationally. According to the Officer Down Memorial Page, 56 U.S. police officers have been shot to death in the line of duty so far in 2016, which marks a 65 percent increase over last year.

The shooting was also the second such attack on SJPD officers this year: On March 12, a man fired at officers with an AR-15 rifle, hitting a patrol car, and three officers returned fire and wounded the man, who was arrested.