If both assisted and unassisted contributions have been made to an RESP, withdrawals of contributions from the RESP are considered to be made in the order specified below:
(a)assisted contributions are considered to be withdrawn before unassisted contributions; and
(b)unassisted contributions made after 1997 are considered to be withdrawn before unassisted contributions made before 1998.
Federal laws of Canada reproduced under the Reproduction of Federal Law Order (SI/97-5); not the official version. Source: Justice Laws Website.