In a statement to TIME, Fey wrote, Carrie Fisher meant a lot to me.

Like many women my age, Princess Leia occupies about sixty percent of my brain at any given time.

But Carries honest writing and her razor-sharp wit were an even greater gift.

Emerald City - Season 1

Credit: David Crotty/Patrick McMullan via Getty Images; Anne Joyce/NBC

Fey and Fisher worked together during season 2 of Feys sitcom30 Rock.

The guest performance earned Fisher her first-ever Emmy nomination.

I feel so lucky that I got to meet her.

Im very sad she is gone,Fey added to TIME.

Fisher died on Tuesday after suffering a heart attack on a London to Los Angeles flight last week.

She was loved by the world and she will be missed profoundly.

Our entire family thanks you for your thoughts and prayers.