; and (ii) is signed by the applicant, under oath. (B) Notice and due process The individual named in an application for an extreme risk protection order described in subparagraph (A) shall be given written notice of the application and an opportunity to be heard on the matter in accordance with this section. (C) Issuance of extreme risk protection orders (i) Hearing (I) In general Upon receipt of an application described in subparagraph (A) or request of an individual named in the application, the court shall order a hearing to be held within a reasonable time, no later than 30 days after the date on which the application or request is made. (II) Determination If the court finds by a preponderance of the evidence or a higher evidentiary standard established by a State that the respondent poses a danger of causing harm to the respondent or others by having access to a firearm, the court may issue an extreme risk protection order. (ii) Duration of extreme risk protection order An extreme risk protection order shall be in effect— (I) until an order terminating or superseding the order is issued; or (II) for a set period of time. (D) Ex parte extreme risk protection orders (i) In general Upon receipt of an application described in subparagraph (A), the court may issue an ex parte extreme risk protection order, if— (I) the application for an extreme risk protection order alleges that the respondent poses a danger of causing harm to the respondent or others by having access to a firearm