The city of Oakland, Calif. is located in the state of California. The man who shot and killed a federal security officer in the San Francisco Bay Area was sentenced to 41 years in prison.

After agreeing not to seek the death penalty, Steven Carrillo pleaded guilty to a federal murder charge in the killing of David Patrick Underwood and the attempted murder of his colleague.

The men were standing in front of a federal building in Oakland when they were shot.

In February, Carrillo admitted to posting messages on Facebook a day before the shooting asking people if they were "down to boog" and saying he was ready to act. He admitted firing 19 rounds from his homemade rifle from the back of a white van he was driving.

He wanted to carry out violent acts against federal law enforcement officers.

The prosecutors said they would not seek the death penalty.

If she didn't feel prosecutors and defense lawyers did enough to justify the sentence, she could reject the plea agreement.

A court official said that Gonzalez Rogers sentenced Carrillo to 41 years in prison on Friday. She explained to the family why she had accepted the deal.

I believe there is evil in this world and I have looked for answers as you are frustrated and angry that such a tragedy could happen.

I need you to trust me, even though the plea agreement won't make you happy. She wouldn't accept it if she didn't see a measure of redemption. He will spend the rest of his life in a small cell that is not even larger than a jury box.

A loose network of gun enthusiasts and militia-style extremists have been accused of having ties to Carrillo. According to experts, the group started on the internet with the belief that there would be a civil war in the U.S.

The guard shack he was in was sprayed with bullets and he was shot to death.

Robert Justus Jr. was accused of driving the van. He is accused of murder and attempted murder.

They are accused of driving to Oakland and taking advantage of the distraction afforded by the people marching through the city's downtown to protest George Floyd's killing by a police officer in Minneapolis.

After the shooting in Oakland, he was arrested for allegedly ambushing sheriff's deputies in Santa Cruz County who were responding to a report of a van with firearms and bomb-making materials. The sergeant was killed and several other law enforcement officials were wounded.

Carrillo was charged with murder and attempted murder in relation to that killing.

The man has pleaded not guilty to the charges against him.