A 10-year-old daughter's letter thanking President Barack Obama for supporting her two-dad family has gone viral.

In the letter, Sophia Bailey Klugh thanks Obama for supporting gay marriage.

“Dear Barack Obama,” she wrote. “It's Sophia Bailey Klugh. Your friend who invited you to dinner. You don't remember okay that's fine. But I just wanted to tell you that I am so glad you agree that two men can love each other because I have two dads and they love each other. But at school kids think that it's gross and weird but it really hurts my heart and feelings. So I come to you because you are my hero. If you were me and you had two dads that loved each other, and kids at school teased you about it, what would you do?”

“Please respond!”

“I just wanted to say you really inspire me, and I hope you win on being the president. You would totally make the world a better place.”

“Your friend, Sophia.”

“P.S. Please tell your daughters hi for me!”

She ended her letter with a doodle of her dads sharing a kiss.

Sophia's dads, Jonathan Bailey and Triton Klugh, posted the letter on Facebook along with the note: “I've refrained from all the political posts, but this is just too close to home to ignore. This is not about President Obama – it's about what's right. So frankly, if you don't agree with the innocent, heartfelt and surprisingly straightforward position of my 10 YEAR OLD DAUGHTER, then please unfriend me because we don't actually belong connected here in the first place.”

(Source: The Huffington Post.)