A man accused of robbing three banks in eastern Nebraska was arrested Wednesday by federal officers, following a two-year manhunt.

Tyree Carney, 25, was apprehended by federal officials in connection with a series of bank robberies that have occurred throughout Nebraska and Iowa, FBI spokesman Huston Pullen said.

Carney was taken into custody by the U.S. Marshals Service on several charges related to his involvement in bank robberies in addition to brandishing a firearm, and felon in possession of a firearm.

The charges are related to the bank robberies of the Springfield State Bank of Springfield on Sept. 23, 2016, the Cornerstone Bank in Murray on March 25, 2017 and the robbery of a Wells Fargo Bank on May 15.

“The great work of our law enforcement partners is what has led to the success of this arrest and we are confident that we are going to continue to keep our communities safe through our collaborative effort,” FBI Omaha Field Office Special Agent in Charge Randall Thysse said.

The FBI Great Plains Violent Crime Task Force is responsible for the investigation into the robberies and the task force was assisted by Cass County Sheriff’s Office, Omaha Police Department Robbery Unit, Sarpy County Sheriff’s Office, The Pottawattamie County Sherriff’s Office, and Bellevue Police Department.