Here's a breakdown:
* Miep Gies was the one who discovered the diary after the Frank family was arrested. She found it in the secret annex, among Anne's belongings, shortly after the raid.
* Jan Gies, Miep's husband, was also involved in the effort to hide the Frank family and assisted Miep in the aftermath of the raid.
Miep Gies kept the diary safe and later gave it to Anne's father, Otto Frank, the only member of the family to survive the Holocaust.