A person of interest has been taken into custody in connection with the accidental shooting of a seven-year-old boy in Detroit on Thursday, which police said was the result of a love triangle.

The boy was immediately taken to the hospital by his mother and listed in critical condition where he remained on Friday, when his grandmother told WDIV-TV that he was 'fine'.

Police said a key witness has led them to a person of interest and to a possible motive in the shooting.

'This was stemming out of a relationship that was over,' Detroit Police Chief James Craig said.

A person of interest has been taken into custody in connection with the accidental shooting of seven-year-old boy in Detroit on Thursday, which police said was the result of a love triangle. The house where the boy was hit is shown here, one block from where shots were fired

The boy was hit with one of 13 shots fired from an AK-47 semi-automatic rifle.

The shots were fired from the front lawn of a home on Wilshire Street, off of Conner Street, on Detroit's east side.

A woman, her husband and another man were arguing when one of the men fired shots late on Thursday, police said.

The shooter's aim was directed at the house next door, but at least one round went awry.

'This was stemming out of a relationship that was over,' Detroit Police Chief James Craig said

This map shows the location where the shooting occurred and the location of the home where the seven-year-old was struck in the neck by a stray bullet on Thursday night

The shots were fired from the front lawn of a home on Wilshire Street, off of Conner Street, on Detroit's east side, shown here

The aim was directed at the house next door, shown here, but at least one round went awry

The stray bullet took a path between the two homes on Wilshire Street and landed one block south, on the next street over.

The boy was struck in the neck by one of the shots while laying in bed in a home on Chelsea Avenue near Conner Street and East Outer Drive, at around 11pm Eastern.

When he was hit, the boy screamed to his mother, 'I've been shot!' and rushed down the stairs to find her.

Two shell casings were found in the yard of the home on Chelsea Avenue

The boy was hit with one of 13 shots fired from an AK-47 semi-automatic rifle

A woman, her husband and another man were arguing when one of the men fired shots

Two shell casings were found in the yard of the home on Chelsea Avenue.

It's not clear where the second bullet made impact.

The shooter also hit the home that he seemingly intended to hit on Wilshire Street, as well as a vehicle in that residence's driveway.

The man who lives at the house that was hit on Wilshire Street said he had nothing to do with the incident.

The shooter also hit the home that he seemingly intended to hit on Wilshire Street

A vehicle in that residence's driveway was also truck, breaking the window

Shattered glass from the window of the vehicle that was struck is shown here

'I really feel bad for the kid and his family,' he said, 'but it had nothing to do with my house or my family.'

The boy was apparently only listed in critical condition due to his young age, police said.

It's expected that the child will make a full recovery.

The weapon used in the shooting has not yet been recovered, WDIV-TV reported.

The shot entered the boy's room, the window of which is shown, and struck him in the neck