When did Libya get its independence?

Libya was occupied by Italy from the end of WW1 until it was fought over in WW2 and the Italians were defeated by the Allies . After that war, on 24 December 1951, Libya declared its independence as the United Kingdom of Libya,