; or (ii) is released from the custody of that State (other than to the custody of another State or the Federal Government to serve a term of imprisonment for a felony conviction). (B) Misdemeanor conviction In the case of such an individual who has been convicted of a misdemeanor, the notification required under paragraph (1) shall be given on the date on which such individual is sentenced by a State court. (b) Federal notification (1) Notification On the date determined under paragraph (2), the Director of the Bureau of Prisons shall notify in writing any individual who has been convicted of a criminal offense under Federal law that such individual has the right to vote in an election for Federal office pursuant to this subtitle and may register to vote in any such election. (2) Date of notification (A) Felony conviction In the case of such an individual who has been convicted of a felony, the notification required under paragraph (1) shall be given on the date on which the individual— (i) is sentenced to serve only a term of probation by a court established by an Act of Congress; or (ii) is released from the custody of the Bureau of Prisons (other than to the custody of a State to serve a term of imprisonment for a felony conviction). (B) Misdemeanor conviction In the case of such an individual who has been convicted of a misdemeanor, the notification required under paragraph (1) shall be given on the date on which such individual is sentenced by a State court. 8504. Definitions For purposes of this subtitle: (1) Correctional institution or facility The term correctional institution or facility means any prison, penitentiary, jail, or other institution or facility for the confinement of individuals convicted of criminal offenses, whether publicly or privately operated, except that such term does not include any residential community treatment center (or similar public or private facility). (2) Election The term election means— (A) a general, special, primary, or runoff election