How did William Gilbert discover magnetism?

he did not