Notice that the people did not wait for the police or anybody else. It is the law in almost any country that those who witness a crime committed in their presence have the authority to seize the culprit and put him under arrest.