The Texas attorney general's office has accused Brazosport ISD Superintendent Danny Massey of violating state law by advocating for political candidates using public resources.

In a cease-and-desist letter, an assistant attorney general told Massey to remove several Twitter posts and retweets in which Massey showed support for candidates running for office. Time stamps on some Twitter posts show they were sent during normal school hours on weekdays, leading the attorney general's office to conclude Massey engaged in illegal "electioneering."

"This evidence reveals that these communications were made on behalf of the School District as a government entity, acting in its official capacity, and using resources that belong to the taxpayers of Texas," Assistant Attorney General Cleve Doty wrote in a letter to Massey and Brazosport ISD Board President Mason Howard.

In a series of tweets and retweets sent in recent weeks, Massey voiced explicit and implicit support for Scott Milder, who's running for lieutenant governor, and Kristin Tassin, a state Senate candidate. Milder and Tassin bill themselves as more moderate Republicans running against farther-right candidates.

You might also like:

Now Playing:

The Lewisville ISD superintendent got a slap on the hand this week from Texas Attorney General Ken Paxton for his message to teachers urging them to show up and vote.

Media: Fox4

In one tweet, posted at 11:12 a.m. on Monday, Jan. 29, Massey wrote: "Thank you @smilder for standing up for public ed. Red dot for Scott. Vote in the March 6 Primary. #TASA18." TASA likely refers to the Texas Association of School Administrators, which was holding its annual midwinter conference on Jan. 29.

It wasn't immediately clear if Massey sent the tweets while on duty, though the attorney general's office said the timing of Massey's tweets suggested he was.

Massey's tweets also include messages advocating for educators to vote as a bloc, along with commentary about political matters relating to education. Those tweets, which do not advocate for specific candidates, are cited in the attorney general's office's letter to Massey.

It's unclear, however, whether the attorney general's office took issue with the message's content or timing.

Several Houston-area school leaders tweet information and messages that combine politics and education. Cy-Fair ISD Superintendent Mark Henry, for example, occasionally posts commentary or information about his dislike of charter schools and frustration with legislative decision-making around school finance. Houston ISD officials regularly tweet messages encouraging legislative action that would help "Dreamers," immigrants residing in the U.S. illegally after arriving in the country as children.