It was all the Mariners needed to win but Hernandez 's historic accomplishment was marred three innings later when he sprained his left ankle while covering home plate after he uncorked a wild pitch .