The attorney for the police officer whose actions at a Texas pool party were captured on video and have drawn national attention confirmed her client's resignation from the McKinney Police Department.

"It is his hope that his resignation will facilitate the cooperative relationship between the citizens and the police officers of the city of McKinney," Jane Bishkin said in a news conference this afternoon.

She declined to say where Cpl. Eric Casebolt is now, but revealed that he has received death threats and is currently in hiding.

Bishkin said that Casebolt had responded to two suicide calls earlier in the day, one where an African-American male had shot himself in the head and one where a teenage girl was threatening to jump off her parents' roof and had to be talked down.

She said that those incidents took an emotional toll on Casebolt, who was reluctant to respond to the pool party when the police calls first came in. Once the calls escalated to complaints of violent assaults, however, he felt it was his duty to respond.

"Eric's actions at the ranch neighborhood were only an attempt to investigate the report of violent assault. His purpose was to interview as many persons as possible to determine who was involved. He believed that those who fled were possible suspects. He was not targeting minorities," Bishkin said.

She said that when his efforts to gather information were hampered by teenagers, he allowed his emotions to get the better of him after all he had been through that day.

"Eric regrets that his conduct portrayed him and his department in a negative light. He never intended to mistreat anyone, but was only reacting to a situation and the challenges that it presented. He apologizes to all who were offended," Bishkin said.

Bishkin added she would release more information at a news conference Wednesday.

Watch more above.

Judge Nap Says McKinney Cop's Actions Were Unlawful: 'This Guy Was a Hothead'

Witness at TX Pool Party: Officer Acted Appropriately to Stop 'Chaos'

WATCH: Texas Cop Slams Teen Girl to Ground, Pulls Gun at Pool Party