Johnson faced an uphill battle in maintaining the speaker's gavel and eked out a win after initially coming up short.