When was Liberia founded?

Liberia was founded by freed African slaves in 1822 and was the first country to gain independence in Africa.