Taylor Swift performed 'State of Grace' on Thursday's 'X Factor.'

It marked the singer's first time performing her new single in live tv!

When asked for advice she has for the contestants, Swift said, "No matter how tired you are, no matter what kind of day you're having, just be nice to people."