When does an RESP have to terminate?

An RESP must be terminated on or before the last day of the 35th year following the year in which the plan was entered into.