A man who allegedly tried to rob a bank with a fake gun got shot by a real one anyway.

WDAF-TV in Kansas City reported that the 34-year-old man walked into a bank in Tremble, Missouri, put on his mask, and pointed a realistic looking gun at a clerk and demanded money.

The teller instead ducked and called out for help which is when another employee saw the masked man with a gun pointed at his colleague, so he drew his .357 and fired twice, striking the masked man in the jaw.

The suspect fled the bank, but was later captured by police after they were led on a high speed chase. The man was charged with attempted bank robbery and leading cops on a chase.

The man who came to his co-worker's rescue was legally allowed to carry and own his gun and likely will not be charged.