(CNN) A man has been charged with capital murder after two women were found dead and a 2-year-old was wounded in a shooting at a residence hall on the campus of Texas A&M University-Commerce, police said.

A student who lives in the Pride Rock residence hall on campus called university police around 10:17 a.m. (11:17 a.m. ET) Monday about the shooting in the building, University Police Chief Bryan Vaughn told reporters. He said police responded and found the women dead in a room.

The child "was also in the room," Vaughn said. The toddler was treated and later released to the care of family members, the university said

University officials identified the victims as a freshman Deja Matts, a 19-year-old public health student student from Garland, Texas, and her sister, Abbaney Matts, 20.

The older Matts, who was not a student at the university, was the mother of the 2-year-old victim, according to the school.

Jacques Dshawn Smith, 21, has been arrested and charged with, "capital murder in connection with the shootings that occurred on the campus of Texas A&M University-Commerce this week," according to a tweet from Texas A&M-Commerce University Police Department.

Read More