Original: It was founded on April 4, 1959, within the French Community and became entirely self-governing when it gained independence from France on June 20, 1960.
Simplified: It started on April 4 1959 and it was controlled by France. However, it became independent on June 20 1960.