The colony became the self-governing Republic of Dahomey within the Community , and two years later on 1 August 1960 it gained full independence ( and in 1975 it changed its name to Benin ) .
The colony became the self-governing Republic of Dahomey .