on the date that is 5 years after the date on which it was entered, the court, after giving notice to the appropriate parties, may order the law enforcement agency with custody of such firearm to dispose of the firearm in accordance with any applicable policy of the jurisdiction in which the firearm was seized. (7) Request to sell firearm (A) In general An individual whose firearms were retained by a law enforcement agency pursuant to an order under paragraph (4)(A)(i) may petition the court for the law enforcement agency to sell the firearm in accordance with any applicable policy of the jurisdiction in which the firearm was seized, and provide the proceeds of such sale to the individual. The court shall grant such order unless the serial number on the firearm is damaged. (B) Timing A petition described in subparagraph (A) may be filed any time prior to the entry of an order under paragraph (6). (C) Sale A law enforcement agency ordered to sell a firearm under this section shall sell the firearm not later than 1 year after the entry of such order, and may retain not more than 8 percent of the sale cost to cover the costs of the sale. 5. Authorization of appropriations There is authorized to be appropriated $50,000,000 to carry out this Act for each of fiscal years 2019 through 2021.