A prosecutor in Texas was arrested for allegedly assaulting his wife during an argument sparked by his infidelity, police said.

Liberty County District Attorney Logan Pickett, 38, was taken into custody early Saturday at the Westin Houston Downtown after cops said his wife, Megan, told a clerk at the hotel that he pushed her, causing her to hit her head, KTRK reported.

Megan said she and her husband were attending an event at nearby Minute Maid Park when she learned after dinner late Friday that he had been having an affair for the past 15 months, police said.

That’s when Logan allegedly pushed his wife, leaving a gash on her head. Medics at the scene said the woman’s wound needed three stitches to be properly closed, but she refused medical attention, according to the station.

A receptionist at the district attorney’s office said Logan was unavailable to comment early Monday when reached by The Post.

An attorney representing him, meanwhile, released a statement and said the couple would not be making further comments regarding the incident, which will not immediately impact his position, KPRC reported.

“They will rely on their strong faith in God and confidence in our justice system to carry their family through this most difficult time,” the statement reads. “They trust the process will afford them the same dignity, respect and equality as others who encounter our judicial process.”

The couple has three children together, according to the station.

Logan, a Republican first elected in 2012, was charged with assault against a family member and released after posting $1,000 bond. A judge also barred him from threatening or harassing his wife and suspended his concealed handgun license.

He could face up to one year in jail or a $4,000 fine if convicted of the misdemeanor count, the Houston Chronicle reported.