The FBI arrested a Colorado Springs man Monday for allegedly making online threats advocating the killing of police officers and retired police officers in the state.

The Department of Justice said Jeremiah M. Perez, 33, was apprehended after officials at Google contacted the FBI’s San Francisco office on Dec. 17 to report what they perceived as a threatening comment posted in association with a YouTube video.

“Those who threaten the lives of law enforcement officers through interstate communications will be fully investigated by the FBI and our partners,” FBI Denver Special Agent in Charge Thomas Ravenelle said in a statement. “The perceived anonymity of the Internet will not serve as a shield for espousing violence in violation of federal law.”

On Saturday, two police officers in New York were killed, allegedly by a man who threatened officers on social media.

In that case, the suspect, Ismaaiyl Brinsley, 28, allegedly wrote on Instagram: “I’m putting wings on pigs today. They take 1 of ours, let’s take 2 of theirs.”

The threat referenced the deaths of Eric Garner in New York and Michael Brown in Missouri in incidents involving police.

Baltimore officials warned New York police about the threat and that Brinsley was possibly headed there, but the warning arrived about the same time the two officers were killed.

After the tip from Google, the FBI San Francisco Office investigated the threatening post by user name “Vets Hunting Cops,” and determined it came from an IP address in Colorado.

“SINCE DARREN WILSON our group has killed 6 retired sheriffs and cops……because of this event we will hunt two more in colorado this week…..for every innocent citizen that cops kill WE, VETERANS WILL KILL RETIRED HELPLESS COPS” the threat read.

“COPS ARE THE REAL ENEMIES OF FREEDOM LOVING AMERICANS,” the threat continued.

Darren Wilson was the Ferguson, Mo. police officer not indicted in the shooting of Brown.

The FBI in Colorado was notified. Their investigation revealed that the IP address was assigned to Century Link and led to an address in Colorado Springs. The FBI and Colorado Springs police began surveillance of that address.

The following day, the FBI and Colorado Springs police served a federal search warrant on Perez’s address.

On Monday, the FBI arrested Perez . A forensic examination of Perez’s computer confirmed that the posting in question, along with other postings, came from his device.

According to a criminal complaint against Perez, he told authorities he was acting alone and didn’t belong to any group. He added that he only said so in an attempt to try to “add legitimacy” to his threats.

Perez told the FBI that he had grown frustrated with recent events, like the death of Michael Brown, and had developed “a strange sense of justice” after growing up around law-enforcement officers.

The complaint said Perez’ was formerly in the Armed Forces and that his father worked as a security officer for the Air Force.

When arrested, Perez was shown evidence of keyword searches made on his computer, including threats against President Barack Obama and members of Congress. Perez, according to the complaint, told the agents that he never intended to follow through with any threats against the people he researched.

If convicted, Perez faces up to 5 years in federal prison, and not more than a $250,000 fine, for transmitting a threat in interstate and foreign commerce.

A preliminary hearing for Perez is scheduled for Monday

.