Phoenix police say a home invasion robbery went awry when one of the suspects startled another and was shot by his partner in crime.

The robbery unfolded Wednesday when three armed men forced their way into a home occupied by a couple and a 2-year-old girl.

The men demanded money, ordered the victims to the floor and began searching the home.