(CNN) -- Roy Keane has resigned after two years in charge of Sunderland, the Premier League club announced on Thursday. Keane cast a forlorn figure after Saturday's 4-1 home defeat to Bolton.