Hilary Benn served for two years as secretary of state for Northern Ireland.