Complex sentence: "Battle of the Bastards" was directed by Miguel Sapochnik, who had directed the fifth-season episodes "The Gift" and "Hardhome".
Split into simpler sentences: Battle of the Bastards was directed by Miguel Sapochnik. He previously directed the fifth season episodes "The Gift"and "Hardhome".