A southeastern Indiana man allegedly shot and critically wounded his wife before later shooting at an officer as the suspect walked outside in the bitter cold carrying a child, police said.

Gregory C. Guilfoyle, 31, of Brookville, was charged in Franklin County with two counts of attempted murder and one count of neglect of a dependent stemming from Friday’s incident, Indiana State Police said Monday.

Police said a preliminary investigation indicates Guilfoyle allegedly shot his wife Hannah M. Guilfoyle, 23, at a residence, where deputies found her with an apparent gunshot wound. She was taken to a Cincinnati hospital in critical condition.

INDIANA MAYOR'S INJUNCTION TO KEEP HOSPITAL ER FROM CLOSING SOON GRANTED BY COURT

After the shooting, police said Gregory Guilfoyle left the home early Friday on foot with a 23-month-old girl and began walking about 30 miles northwest of Cincinnati.

A Franklin County Sheriff’s deputy received a report that Gregory Guilfoyle was walking near the intersection of U.S. 51 and Indiana 1 while holding a small child amid temperatures near zero.

Indiana man allegedly shoots wife and cop

An Indiana man allegedly shot his wife as he walked outside in the cold carrying a 23-month-old child. He then shot a deputy who confronted the Indiana man near a highway. He was charged with one count of neglect and two counts of attempted murder. (Fox News)

Police said Deputy Arin Bowers drove to the area but when he tried to speak to Gregory Guilfoyle, Guilfoyle pulled a handgun and fired it at Bowers. The deputy was struck by at least one round but was not injured thanks to his protective body armor.

Bowers returned fire, striking Gregory Guilfoyle with at least one round. He was taken to a Cincinnati hospital with serious injuries.

CLICK HERE TO GET THE FOX NEWS APP

The child was not injured.