How did Kenya become a country?

Kenya became a country on December 12, 1963 when it declared independence from the United Kingdom. At that time, the Kenya African National Union formed a government which would become the government of the new country.