The entire Panama Canal , the area supporting the Canal , and remaining US military bases were transferred to Panama by the end of 1999 .