Gov. Robert Bentley's mugshot after being booked on misdemeanor charges related to campaign finance violations. (Contributed photo/Montgomery County Sheriff's Department)

Gov. Robert Bentley has resigned from office, pleading guilty to two misdemeanors in exchange for not being prosecuted on ethics and campaign finance charges.

The official announcement from the governor's office was made around 5 p.m. He had previously been booked into Montgomery County Jail on two misdemeanor charges related to campaign finance violation. Each carried a $300 bond.

The resignation comes after Friday's report from the House Justice Committee detailing Bentley's relationship with former aide Rebekah Caldwell Mason, including allegations the governor used state law enforcement and other state resources to facilitate the relationship. Bentley had repeatedly said he wouldn't resign but talks reportedly started over the weekend to allow the two-term Republican to step down.

Bentley becomes the fourth Alabama governor to step down or be forced out of office.

We'll be updating live below:

6:32 Lawmakers weigh in

Alabama lawmakers said Bentley right to resign



6:24 p.m. Here's the plea agreement from Bentley, AG office

6 p.m.

Bentley Letter of Resignation by Jeremy W. Gray on Scribd

5:56 p.m. To recap

5:27 p.m. Statement from Rep. Martha Roby

"Governor Bentley's decision to resign was the right thing to do. The people of Alabama deserve leaders who are focused on the serious issues facing our state, and I look forward to better days ahead."

5:22 p.m. Impeachment committee is adjourned.

Due to Governor Bentley's resignation, the work of the impeachment committee is no longer needed. We are adjourned. #alpolitics #impeachment — Chris England (@RepEngland70) April 10, 2017

5:16 p.m. Watch live here.

5:03 p.m.

Governor Ivey, I'm looking forward to working with you as our 54th Governor. @LtGovIvey #alpolitics — Mary Scott Hunter (@MaryScottHunter) April 10, 2017

4:58 p.m. Bentley to repay state, perform community service in exchange for pleading guilty to 2 misdemeanors



According to the agreement, Bentley will repay the state for misused funds and perform community service in exchange for pleading guilty to two misdemeanor charges and agreeing to never again hold public office. In return, the state attorney general's office will not pursue other felonies against Bentley, including those referred for prosecution last week by the Alabama Ethics Commission.

4:56 p.m. Here's the latest.

Alabama Governor Robert Bentley resigns amid sex scandal

4:53 p.m. And here's the announcement of Kay Ivey's swearing in as Alabama's second female governor.

Swearing-in for Kay Ivey as Governor of the State of Alabama

MONTGOMERY, Alabama (April 10, 2017) - Kay Ivey will be sworn in as the 54th Governor of the State of Alabama by Acting Chief Justice Lyn Stuart in the Old Senate Chamber in the Alabama State Capitol. Following her swearing-in ceremony, she will make remarks addressing the current matters of the State.

WHO: Kay Ivey

WHAT: Swearing-in as the 54th Governor of State of Alabama

WHEN: April 10, 2017, at 6 p.m.

WHERE: Old House Chamber in Alabama State Capitol

4:51 p.m. Here's the official announcement notice:

OFFICE OF GOVERNOR ROBERT BENTLEY

MEDIA ADVISORY FOR EVENT ON MONDAY, APRIL 10, 2017

Governor Bentley to Make an Announcement Today

MONTGOMERY - Today Governor Bentley will an announcement in the Old House Chamber. The Governor will not take questions.

The announcement will begin at approximately 5 p.m. in the Old House Chamber at the Alabama State Capitol.

WHO: Governor Robert Bentley

WHAT: Announcement from Governor Robert Bentley

WHEN: Monday, April 10, 2017, at 5:00 p.m.

WHERE: Alabama State Capitol--Old House Chamber

600 Dexter Avenue

Montgomery, AL

4:50 p.m. For the record, this @governorkayivey is already a thing.



4:48 p.m. Bentley's legal problems are nothing new in Alabama. Last July, Alabama Speaker of the House was sentenced to four years in prison related to ethics violations. In September 2016, Alabama Supreme Court Chief Justice Roy Moore was suspended from the bench for telling probate judges to defy federal orders regarding gaymarriage.

4:23 p.m. We're getting our first lo

ations. In September 2016, Alabama Supreme Court Chief Justice Roy Moore was suspended from the bench for telling probate judges to defy federal orders regarding gay marriage.

4:23 p.m. We're getting our first

ok at Gov. Robert Bentley's mug shot. It was released by the Montgomery County Sheriff's Office. The mug shot is above.

4:16 p.m. Second charge now posted to Montgomery County Sheriff's Office. It's for failure to file campaign finance reports. Bond is also $300.

4:11 p.m. Gov. Bentley has been booked at Montgomery County Sheriff's Office on one count of failure to disclose information on statement of economic interest, a misdemeanor. Bond was set at $300. No mugshot is available yet.