; and (iv) recognized, commissioned, or certified by a government entity as a law enforcement officer. (e) Prohibition of straw purchasing It shall be unlawful for any person to willfully use a valid Federal or State firearm license to purchase a firearm or ammunition on behalf of another individual, regardless of whether the other individual has a valid Federal or State firearm license. (f) Penalties Any person who violates subsection (a) or (e) shall be imprisoned not more than 2 years, fined in accordance with this title, or both. (g) Database The Attorney General shall establish an electronic database, which shall be accessible by Federal, State, local, and Tribal law enforcement agencies and licensed dealers, through which a licensed dealer may verify the validity of a Federal firearm owner's license issued under this section. (h) Revocation of licenses (1) In general The Attorney General shall revoke the Federal firearm owner's license issued to an individual under this section upon the occurrence of any event that would have disqualified the individual from being issued or renewed a Federal firearm owner's license under this section or for a violation of a restriction provided under this section. (2) Required notice Upon revocation of a Federal firearm owner's license under paragraph (1), the Attorney General shall provide written notice of such revocation to the individual to whom the license was issued. (3) Appeal of revocation (A) In general An individual who has the Federal firearm owner's license of the individual revoked under this subsection may appeal the revocation determination to the Director of the Bureau of Alcohol, Tobacco, Firearms and Explosives. (B) Requirement Not later than 14 days after the date on which an individual appeals a revocation determination under subparagraph (A), the Director of the Bureau of Alcohol, Tobacco, Firearms and Explosives shall conduct a hearing on the appeal. (C) Notice of determination The Director of the Bureau of Alcohol, Tobacco, Firearms and Explosives