Get breaking news alerts and special reports. The news and stories that matter, delivered weekday mornings.

A Texas woman who was trying to save her suicidal boyfriend was killed while attempting to pull him out of the road during the holiday weekend, officials said.

"At approximately 12:35 a.m., on Saturday, July 4, Michael Thomas was in a moving lane of traffic attempting suicide, by trying to get hit by a motor vehicle," the Harris Country Sheriff's Office said in a statement.

Thomas had been drinking at a nearby bar before sitting and lying down in oncoming traffic, officials told NBC station KPRC in Houston.

Deputies say Thomas' girlfriend was trying to drag him to safety when she was struck by two cars.

Police say the woman, whose name was not released, was first hit by a tan Buick Lacrosse that was trying to avoid hitting her boyfriend and then run over by a black Chevrolet Monte Carlo.

The road was dark due to the time and there were no street lights in the immediate area to improve the lighting, officials said.

Police said Thomas was taken into custody to undergo psychiatric evaluation. Neither of the driver's were intoxicated and will not face charges, authorities said.