After several years under British mandate, on 24 December 1951 Libya declared its independence as the United Kingdom of Libya (a constitutional, hereditary monarchy under King Idris). Although many Italians had already left the former colony, many remained (primarily farmers and craftsmen). King Idris was a tolerant monarch, and generally treated the Italian population well.