PERSON@1 president of somalia When LOCATION@1 gained its independence on July NUMBER@1 , NUMBER@2 , he was elected as the nation 's first president .

When LOCATION@1 gained its independence on July NUMBER@1 , NUMBER@2 , PERSON@2 was elected as the first president of LOCATION@1 .
