Sunderland have appointed Preston North End manager Simon Grayson as their new manager.
Grayson will ironicaly replaces former Preston manager David Moyes, who resigned in May following Sunderlands relegation to the Championship.
Since taking over at Preston in 2013, Grayson has led them to promotion from League One and two 11th-place finishes in the Championship
He has signed a three-year deal on Wearside and said: "I am delighted to come to Sunderland, a club with such wonderful history and tradition," said Grayson, who brings Preston assistant Glynn Snodin with him to the Stadium of Light. I want a group of players full of desire, team spirit and a never-say-die attitude - that's the very least that we should expect from a Sunderland player."
Sunderland were granted permission to speak to Grayson on Thursday morning by Preston.
Preston said that, after contact from the Black Cats, Grayson asked to speak to the club, with a statement from the club confirming that a compensation package, believed to be about £750,000, was already guaranteed in his contract.
Sunderland had previously approached Aberdeen to speak to Derek McInnes regarding their managerial vacancy, but he rejected the chance to join the North East club.