Three armed men got more than they bargained for when they broke into the home of 49-year-old Dias Costa.

Costa and his wife were asleep when they armed men attacked them. Costa then grabbed a replica katana sword from his wall and slashed his attackers, hacking them across the face, neck, arms and legs.

The robbers fled leaving behind a trail of blood. The men were caught a short time later after crashing a stolen car in the neighborhood.

The men will be taken into police custody after recovering from their wounds.