Where was American sign language invented?

People say that hearing words was not necesary for undrstanding ideas and Girolamo Cardano invented a code for the teachings the deaf but his work was never put into use untill Jaun Pable de Bonet published his book.