Dennis Thurman will be hired by the Buffalo Bills as defensive coordinator.

Thurman will replace Jim Schwartz with the Bills, who led the unit to rank fourth in the NFL in 2014.

Thurman and Rex Ryan have coached together all but one year since 2002.

Thurman was promoted to defensive coordinator with the Jets in 2013 after the departure of Mike Pettine.