Former Arizona Cardinals quarterback (4) Kevin Kolb prepares to take the snap against the Buffalo Bills at University of Phoenix Stadium. / Mark J. Rebilas, USA TODAY Sports

by Mike Garafolo, USA TODAY Sports

by Mike Garafolo, USA TODAY Sports

Just more than two weeks after being released by the Arizona Cardinals, Kevin Kolb has found his landing spot with the Buffalo Bills.

Kolb has agreed to a two-year deal with a maximum value of slightly less than $13 million, a person informed of the agreement told USA TODAY Sports on Saturday.

The person spoke on condition of anonymity because the financial terms weren't to be discussed publicly. The person said the contract has not yet been signed.

The Bills are in need of help at quarterback after releasing starter Ryan Fitzpatrick on March 12.

Kolb has six seasons of NFL experience and spent the past two injury-filled years with the Arizona Cardinals. He was released March 15 after being unable to reach an agreement on a pay cut with the team.

The New York Jets also showed interest in Kolb as a free agent but were committed to starting quarterback Mark Sanchez for $8 million in guaranteed money. They also signed David Garrard in free agency.

Kolb has struggled with consistency. He has completed 59.5% of his passes, throwing 28 touchdowns and 25 interceptions in 34 career games.