Raleigh police responded to a shooting call that came in from Woodpecker Court after 9:30 p.m. Tuesday.
Officials said a man was transported to WakeMed.
Officials said the man was shot through a limb, and his injuries are non-life threatening.
Police later said the victim in the shooting turned out to be the suspect. The man is expected to survive and will face charges.
According to authorities, the man was shot by another man after he tried to get into the home.
Officials said the suspect knew the victim.
Raleigh police also responded to a separate shooting at the Knights Inn around the same time. A man was killed and a woman was hospitalized with serious injuries.