Former Bournemouth boss was in charge for nearly five years