Hilary Duff shared a message of self-love on Instagram on Thursday

By Gabrielle Olya
Updated February 03, 2017 10:28 AM

Hilary Duff has learned to love her body — even the parts of it she was once self-conscious about.

“I didn’t always love my legs, but as I’ve grown, I’ve learned to love and celebrate myself, just as I am,” the actress, 29, shared on Instagram on Thursday as part of her partnership with the #AerieReal U-Day campaign. “I began to realize that my legs are strong, and they carry me every single day.”

Duff has opened up about being “obsessed” with her weight in the past, and told PEOPLE in 2015 that she was “too thin” and “unhealthy” when she was a teenager. But now she has learned to embrace her body just the way it is.

RELATED VIDEO: Hilary Duff: I Was ‘Too Thin’ As A Teenager

“Our bodies are amazing and something to be grateful for,” the Instagram post continues. “I’m me and that’s really enough!”