Damar Hamlin is staying in Buffalo.

The Bills have agreed to a one-year extension with the starting safety, the team announced Wednesday.