The UN awarded Eritrea to Ethiopia in 1952 as part of a federation .