Taylor Swift appeared on last night's season finale of the Zooey Deschanel-helmed sitcom 'New Girl' -- and as it turns out, she was perfectly suited to play an obsessed "other woman."

(Warning, there be spoilers below. Approach with care, mateys.)

Swift doesn't actually appear until the end of the episode, entitled 'Elaine's Big Day,' to reveal just who Elaine is and why another woman's wedding is so special to her: seems she's in love with the groom and all too happy to announce it to a slew of wedding guests.

"I've loved you since the first grade. And I'm so lonely without you, I just lay awake at night and I just write about you in my journal and I paint pictures of you on my easel," Swift's character Elaine diatribes, yelling, "Will you take me away from this madness!?! You are not too short for me, I don't care what your mother says."

At which point she is whisked off into the sunset, probably on that white horse that appeared earlier in the episode.

"She's awesome," Deschanel said of Swift. "She's super-funny and really smart. Very professional and we loved working with her."

Added Max Greenfield (who plays Schmidt), "One word: Magic."

Nicely done, T-Swizzle. Keep it up and everyone might finally forgive you for that whole Fey/Poehler kerfuffle.

More From Hot 975