Federal law has established several longstanding prohibiting factors that make it unlawful for certain individuals to purchase or possess a firearm, including a prior felony conviction, a dishonorable discharge from the military, and being the subject of a current restraining order. Other noteworthy prohibiting factors include illegal drug use within the past year and any prior conviction for a crime of domestic violence (felony or misdemeanor).