Tom Flanagan has agreed terms on a new two-year deal at Sunderland, Football Insider understands.

Manager Phil Parkinson confirmed to BBC Radio Newcastle earlier this month that the Black Cats had offered the 28-year-old a contract after his old deal ran out at the end of June.

A source at the Stadium of Light has told Football Insider that the centre-back has now agreed to put pen to paper on new terms which will run until 2022.

As revealed by Football Insider in June, Wigan Athletic, Birmingham City and Coventry City were all plotting to try and sign the Northern Ireland on a free transfer this summer.

However, he is set to turn down the rival interest and commit his future to the Black Cats.

Flanagan joined Sunderland on a free transfer back in 2018 after leaving Burton Albion and has played a total of 64 times for the club to date.

Subscribe to Football Insider TV now

A versatile defender who has featured as a right-back on occasion, he was in and out of Phil Parkinson’s starting XI during the 2019/20 campaign.

He started just six times in League One before the turn of the year but went on to sit out just five matches in 2020.

He has a total of 107 League One appearances under his belt, while he has also played over 50 times in the Championship.

Sunderland are yet to bring in any new signings ahead of next season after a disappointing campaign which saw them finish eighth in League One.

In other Sunderland news, Kevin Phillips has lifted the lid after he was called by a party interested in a takeover.

PLUS: Subscribe for free to our brilliant new YouTube channel for daily videos, interviews with our top pundits and special guests, and all the latest insight into the club you love.