Anne Hathaway has written a moving tribute to The Princess Diaries director Garry Marshall, who died on July 19 at a hospital in Burbank, California, from complications of pneumonia following a stroke. He was 81.

The actress accompanied a snap of herself, co-star Julie Andrews and Marshall on the set of The Princess Diaries with a lengthy post.

“Garry was goodness itself,” it read in part. “He was generous. He was kind beyond kind. He was thoughtful and sweet and so funny you would pee yourself a little.

“I met him when I was a child who thought she was a grown-up; he treated me with grace and patience and respect and always, always love.

“Before we made The Princess Diaries, he told me “You never know if a movie is going to be a hit or not. The only thing you can control is the memories you make when shooting it. So, let’s make some good memories.”

“Garry: for a kid from the Bronx with weak lungs, you did good. I’m happy to have known you. I can never thank you enough for my life.

“I’m going to do my best to be just like you. I love you. Safe travels, my friend.

Julia Roberts who worked with Marshall on Pretty Woman, Valentine’s Day and Runaway Bride, shared a number of flashback snaps.

She captioned a photo taken on the set of the movie WHICH MOVIE?: "Thanks for giving us the fairytale."

Richard Gere, who starred opposite Julia Roberts in Pretty Woman, said in a statement to The Hollywood Reporter: “Everyone loved Garry. He was a mentor and a cheerleader and one of the funniest men who ever lived. He had a heart of the purest gold and a soul full of mischief. He was Garry.”

Other celebrities who had worked with Marshall—his TV credits included Happy Days and Mork & Mindy—also took to social media to pay tribute to the iconic director. See their tributes here: