Rep. Kevin McCarthy is resigning months after being ousted as House speaker

(Photo by Chip Somodevilla/Getty Images)

Two months after his historic ouster as House speaker, Republican Rep. Kevin McCarthy announced Wednesday that he is resigning from his congressional seat in California.

His announcement capped a stunning end for the one-time deli owner from Bakersfield, who ascended through state and national politics to become second in line to the presidency before a contingent of hard-right conservatives engineered his removal in October.

McCarthy is the only speaker in history to be voted out of the job.

The Associated Press contributed to this report.