ROUND ROCK, Texas – A civil rights attorney in Texas was forced to resign after he posted to Twitter that it would be “ok” with him if U.S. Education Secretary Betsy DeVos was sexually assaulted.

DeVos announced plans Thursday to dismantle federal Title IX guidelines crafted under the Obama administration that compels colleges and universities to ignore due process for students accused of sex assault, and that apparently didn’t sit well with Texas attorney Rob Ranco, partner at the Carlson Law Firm, The Washington Times reports.

MORE NEWS: Know These Before Moving From Cyprus To The UK

“I’m not wishing for it … but I’d be ok if #BetsyDevos was sexually assaulted,” Ranco posted to Twitter on Friday.

“Perhaps Betsy doesn’t understand how horrible rape is,” he wrote in another. “She’s made the world more dangerous for my daughters. I need her to understand.”

Another: “Make the world more dangerous for my daughters – intentionally – and your well being is not my concern. Full stop.”

Ranco’s comments drew a heap of scorn from folks online, and he attempted to quell the controversy by moving his account to private, but the damage was already done.

MORE NEWS: How to prepare for face-to-face classes

“saved mr. ‘im ok with sexual assault if I dislike the woman’s tweet just in case he nukes his entire account,” chucks0nbangs posted.

“Now we know what this constitutional lawyer fantasizes about,” Randy Barnett tweeted. “Count down to delete, 10, 9, 8 …”

“Liberalism post-Trump …” Art Tavana posted, along with a screenshot of Ranco’s comments.

On Monday, KVUE reporter Jenni Lee posted and update to Twitter: “Robert Ranco, Round Rock attorney who made controversial tweet Friday about Education Secretary Betsy DeVos, has resigned from Carlson Firm.”

The announcement came after Ranco sent a prepared statement to the news station on Sunday.

“My tweet from Friday was a mistake. I take full responsibility from it. It was my mistake and nobody else’s and I apologize,” he wrote. “I’ll be working continuously moving forward to make it (sic) for my mistake. I hope that Secretary DeVos and anyone else who was offended, impacted, shocked by my actions that they can find it in their hearts to forgive me.”

The Carlson Law Firm’s managing partner, Craig Carlson, also issued a prepared statement:

For those of you who are wondering why this took so long, let me start by saying that this firm is a family and believe it’s up to me to show the same loyalty that I ask of my people. I wasn’t going to make a rash decision about a member of this family just to appease people on social media.

That said, I considered the health of everyone in our organization, promised my partners and my employees that we would act according to the values of our firm, and sat down to speak with Mr. Ranco.

In the end, we came to the same two conclusions:

With over 150 employees – 75% or whom are women – anyone in our company advocating or even expressing apathy towards sexual assault is affront to all victims and a line that simply cannot be uncrossed.

This has been an enormous distraction that has taken us away from the mission of our firm, which is to care for and help people.

Understanding and accepting this, Rob is taking full responsibility and choosing to resign.

As a man of faith, believer in forgiveness, and longtime friend, it is my sincere hope that Rob with learn from this experience and go on to have a very successful career.