A dog attacked a mother and her 2-year-old daughter at the family's League City apartment early Monday before police were able to shoot the animal.

Police said Chelsi Camp, 23, was watching after the pit bull for her boyfriend when the animal suddenly turned on them about 8:45 a.m. at their home in the Avana at South Shore apartments, 2800 East League City Parkway.

"It's just a horrible incident," said Condy Hammer, who lives at the complex.

League City police said the "very aggressive" pit bull was mauling the child and Camp when they arrived.

An officer shot the dog to stop the attack, police said.

A Life Flight medical helicopter flew the child to Memorial Hermann Hospital. The girl had severe injuries to her head and face, police said.

Camp was taken by ambulance to the same hospital with injuries to her arms and hands.

She was in good condition at the hospital later Monday. Her daughter's condition wasn't known.