An Alabama politician's wife who took to Facebook to warn women to stay away from her husband said a "righteous anger" pushed her to write a post that has now gone viral.

"I know that I can't bring about change in other people's lifestyles but I can protect my household, my husband and my children," Heather McGill, the wife of Alabama state Sen. Shadrack McGill, told ABC News.

Heather McGill logged on to her husband's Facebook page Monday night to write a post targeted at the women she claims are soliciting her husband, a Republican who has served in the Senate since 2010, for sex.

"Multiple times since being in office he has gotten emails from women (who may not even be real) inviting him to explore, also sending pictures of themselves. NO MORE!!!," McGill wrote. "We have children that look at our face books from time to time! Shame on you!"

Sen. McGill told ABC News that, during his 2010 campaign, strippers arrived at his family's home in the middle of the night and that, since being elected, he has received numerous photos on Facebook of scantily clad women.

Heather McGill said it was the latest photo, one posted just last Sunday, that drove her to write the post in which she warned the women, "Next time everyone will know who you are!! For I will publicly share your name before we 'unfriend' you."

"I had looked on my husband's Facebook page yesterday and again there was another picture and another email," she told ABC News. "Being that we have daughters, I guess a righteous anger rose up in me to protect my family."

The McGills have been married for 14 years and have six children together. They are also foster parents.

Heather McGill called the type of unwanted attention her husband has received, "the 'behind-the-scenes' garbage that political life brings."

Despite the attention and strain placed on his family, Sen. McGill said he was prepared for the next campaign season.

"I was a novice the first time but this time I've got my feet under me," he said.