Tomi Lahren settled her lawsuit Monday with her former boss, Glenn Beck, and his conservative media firm The Blaze.

The deal allows the 24-year-old pundit to be freed from her employment contract — which was to expire in September — and pursue new work that competes with The Blaze. She also gets to keep the Facebook page that The Blaze created for her, and on which she has amassed 4.3 million followers.

Lahren will "promptly" return The Blaze's "intellectual property" that was posted to the Facebook page, said her lawyer, Brian Lauten. In court hearings, Lauten had offered to delete all of the videos produced by The Blaze off the Facebook page, which would include some of Lahren's most popular posts. Some had been watched more than 67 million times.

"Ms. Lahren is relieved to have this litigation behind her," Lauten said in a statement. "She looks forward to connecting with her audience and fan base on the pressing political issues facing our country in the days to come."

The rest of the details of the settlement remained confidential.

The Blaze, which is based in Irving, said it was happy with the agreement.

"TheBlaze is pleased to announce that the relationship with Tomi Lahren has concluded," the company's statement said. "Ms. Lahren will continue to have access to her social media accounts as has always been the case."

The settlement comes three weeks after Lahren sued The Blaze to be freed from her contract in Dallas County court, claiming her employer had already violated the terms of the agreement.

She alleged that The Blaze didn't hold up its end of the contract when it canceled her show, Tomi, after she said on ABC's The View that she supported abortion rights and thought it was hypocritical to be for limited government and also government restrictions on abortion. Her comments prompted a backlash in conservative circles.

Beck was expected to testify Thursday in the case. Now he won't have to, thanks to the settlement.