Striking a nerve: Speaking outside the State House in Nairobi, Kenya, on Saturday night, President Barack Obama (left) criticized Kenya for its treatment of homosexuals. In response, Kenyan President Uhuru Kenyatta (right) said gay rights are a 'non-issue' in his country''
With a warm smile, fond reflections on his family's ties to Kenya and even a 'birther' joke, he charmed the African nation's leaders on Saturday night.
But at one point, President Barack Obama struck a nerve.
Speaking at a press conference outside Nairobi's State House, Obama condemned Kenya for its treatment of homosexuals, comparing discriminating against gays to treating people differently due to race and saying that 'law-abiding' citizens should not be punished for loving a particular person.
'As an African-American in the United States I am painfully aware of what happens when people are treated differently,' he said. 'When you start treating people differently, not because of any harm they are doing, but because they are different, that's the path whereby freedoms begin to erode.
'[If] somebody is a law-abiding citizen... the idea they are going to be treated differently or abused because of who they love is wrong. Full stop.'
In response, Kenyan President Uhuru Kenyatta, who was standing on a stage alongside Obama, declared that gay rights are a 'non-issue' in Kenya.
Serious matter: 'As an African-American in the United States I am painfully aware of what happens when people are treated differently,' Obama said. 'When you start treating people differently... because they are different... that's the path whereby freedoms begin to erode'
Different opinions: Obama dded: '[If] somebody is a law-abiding citizen... the idea they are going to be treated differently or abused because of who they love is wrong. Full stop.' Above, Obama gestures during his State House speech as Kenyatta watches him
JE WATAKUBALIANA ? RUWA MANGI ''It's a non-issue': Kenyatta (pictured speaking next to his American counterpart) said that after Kenya deals with other, more pressing issues such as terrorism, it can begin to look at new issues. But he said that the moment, gay rights is not at the forefront for the nation'' OK POWA SANA 'HATA MIMI MWENYEWE FLORA LYIMOAKA MBUTA NANGA' Sioni kama mambo ya watu na maisha yao binausi kama ni mambo ya muhim yakuzungumzia kwa huu mjio mkubwa wa Rais wa Dunia Obama'' Hao mashoga au wasagaji na wasagwaji ''hayo ni maisha yao wakitaka kufanya wafanye ,wakiowana na waache waowane kwani sisi ni Mungu ? na ni kwanini wanyimwe kuishi wanavyotaka na pia ni kwanini iwe ni big mtamkozi ? for what ? kwanini Wanaume na Wanawake kufanya wanayoyafanya tunakubaliwa ,je Ikipitishwa sheria ni marufuku mwanaume kuowana na Mwanamke au pia Mwanamke kuowana na mwanaume'' ? Hamuoni kama sasa tutaanza na kujinyima'' yote yote''kwa hiyo mimi naona wacha watu waishi wanavyotaka''Na pia wapewe haki zao pale wanapozihitaji ikiwa hazisababishi mauwaji ya aina yoyote'' SASA HIVI TATIZO KUBWA DUNIANI NA SIYO KENYA AU AFRICA BALI ULIMWENGU MZIMA NA SHIDA INAYOHITAJI TAMKO KUBWA NI '' MAUWAJI YA WATU WASIO NA KOSA LOLOTE'' TERRORISM.,Yani wabeba mabom na wabebeshaji wenzao mabom na mabunduki bunduki'' yaangamizwe kabisa'' #ngachoka
NA BILA KUSAHAU UNYANYASAJI WA WANAWAKE NA UBAKAJI''Tupigane na hawa wadudu waharibifu na tutafuteni njia ya kuwaangamiza'' ila GAY '' Tuiweke mbali kabisa'' yani siyo kitu kilichokuleta huko Amerika Mheshimiwa Rais Obama'' naomba isiwe ndiyo kubwa hoja yako yakutembelea KENYA NA AFRICA NZIMA KWA UJUMLA 2015'' WATU TUNATAKA KUISHI KWA AMANI GAY OR NOT GAY'' Watu wana lala hoi watoto wanakufa bila wazazi na Magonjwa mengi yapo Africa kwasababu ya mahospitali na madawa ya uhakika yakutosha hakuna '' kwa hiyo TUSAIDIE SISI WAAFRICA WENZAKO ''TUWEZE KUWA NA AJIRA WATU WAPATE KAZI NA KUWEZA KUJENGA MAJUMBA YA KUFANANA NA KILA MTU AWEZE KUISHI MAISHA BORA'' ASANTE SANA'' NA KARIBU KENYA ,TANZANIA NCHI YANGU NA AFRICA YAKO NZIMA KWA UJUMLA'' RUWA MANGI'' MIMI NAKUSIKILIZA NA KUTAKA KUFANYA KAMA WEWE MHESHIMIWA RAIS '' NAPENDA WATU WANGU WA AFRICA WAWEZE KUISHI MAISHA YA KAWAIDA'' HASA KAZI ''BIASHARA NDIO MPANGO MZIMA''
NA BILA KUSAHAU UNYANYASAJI WA WANAWAKE NA UBAKAJI''Tupigane na hawa wadudu waharibifu na tutafuteni njia ya kuwaangamiza'' ila GAY '' Tuiweke mbali kabisa'' yani siyo kitu kilichokuleta huko Amerika Mheshimiwa Rais Obama'' naomba isiwe ndiyo kubwa hoja yako yakutembelea KENYA NA AFRICA NZIMA KWA UJUMLA 2015'' WATU TUNATAKA KUISHI KWA AMANI GAY OR NOT GAY'' Watu wana lala hoi watoto wanakufa bila wazazi na Magonjwa mengi yapo Africa kwasababu ya mahospitali na madawa ya uhakika yakutosha hakuna '' kwa hiyo TUSAIDIE SISI WAAFRICA WENZAKO ''TUWEZE KUWA NA AJIRA WATU WAPATE KAZI NA KUWEZA KUJENGA MAJUMBA YA KUFANANA NA KILA MTU AWEZE KUISHI MAISHA BORA'' ASANTE SANA'' NA KARIBU KENYA ,TANZANIA NCHI YANGU NA AFRICA YAKO NZIMA KWA UJUMLA'' RUWA MANGI'' MIMI NAKUSIKILIZA NA KUTAKA KUFANYA KAMA WEWE MHESHIMIWA RAIS '' NAPENDA WATU WANGU WA AFRICA WAWEZE KUISHI MAISHA YA KAWAIDA'' HASA KAZI ''BIASHARA NDIO MPANGO MZIMA''
Support: Thousands of Kenyans turned up to see Obama as he visited August 7th Memorial Park in Nairobi, Kenya, earlier in the day''
Big turnout: Obama is the first sitting U.S. president to visit Kenya - and thanked Kenyans for welcoming him into his father's homeland''
Relative: Obama's half-sister, Auma Obama (center), watches as her half-sibling toasts Kenyatta during a state dinner later on Saturday''
Proud: Obama's step-grandmother Mama Sarah Obama (pictured, right, in the yellow headband) listens to as Obama makes a toast''
Speaking in front of Obama, Kenya's Deputy President William Ruto, and millions of people globally, Kenyatta said that while the U.S. and Kenya agree on a lot, there are some things that cultures or societies just don't accept - and it is difficult to impose beliefs on people that they will not welcome,.
He added that after Kenya deals with other, more pressing issues such as terrorism, it can begin to look at new issues.
But he said that the moment, gay rights is not at the forefront for the country.
'The fact of the matter is Kenya and the U.S. share so many values: common love for democracy, entrepreneurship, value for families - these are some things that we share,' Kenyatta said. 'But there are some things that we must admit we don't share. Our culture, our societies don't accept.'
He added: 'This is why I repeatedly say for Kenyans today (gay rights) is generally a non-issue. We want to focus on other areas.'
Kenyatta's comments sparked a small amount of applause from the crowd, who were apparently silent during Obama's remarks about gay rights.
The comments made by Obama - who says he is 'unequivocal' on the issue of gay rights - exposed the divide on gay rights between Western states and religiously conservative Africa, where many states ban gay relations. Gay sex is a crime in Kenya, punishable by up to 14 years in prison.
The president, who embraced gay marriage in 2012 during his re-election campaign, hailed last month's U.S. Supreme Court decision to allow same-sex marriage in the United States. He says he has been consistent in pressing the controversial issue when he meets with African leaders.
Charming Kenya: With fond reflections on his family's ties to Kenya and even a 'birther' joke, Obama charmed the African nation's leaders on Saturday. Later in the night, the president couldn't resist making a joke about his birthplace - which critics have long questioned''
Quelling conspiracy theorists: 'Some of my critics back home might be suggesting I'm back here to look for my birth certificate,' Obama (pictured on Saturday) said from his father's homeland. 'That is not the case,' he jokingly added in a bid to quell conspiracy theorists'
Certificate: Obama's birth certificate (above), which was publicly released in 2011, lists the 53-year-old's place of birth Honolulu, Hawaii