Glacial erosion can form U-shaped valleys and hanging valleys. U-shaped valleys are formed as glaciers erode existing river valleys, deepening and widening them into a characteristic U-shape with steep sides and a flat floor. Hanging valleys form when a tributary glacier erodes a valley that runs above and perpendicular to the main valley. As the main glacier recedes, it leaves behind steep walled, high elevation valleys hanging over the main valley below.