In the United States, a red flag law is a gun control law that permits a state court to order the temporary removal of firearms from a person who they believe may present a danger to others or themselves. A judge makes the determination to issue the order based on statements and actions made by the gun owner in question. Refusal to comply with the order is punishable as a criminal offense. After a set time, the guns are returned to the person from whom they were seized unless another court hearing extends the period of confiscation.