(2) Prior to the end of the stay of criminal proceedings described in subsection (1) of this section, the defendant may request that the district attorney approve an extension of the stay for a period up to 270 days in the case of a defendant charged with the commission of a felony and up to 180 days in the case of a defendant charged with the commission of a misdemeanor. If the district attorney approves the extension, the district attorney shall notify the court and the court shall order an extension of the stay of criminal proceedings for the approved period of time. [1977 c.373 §4; 2010 c.25 §3; 2015 c.258 §1]