How was Calcium Discovered?

It is written that by electrolyzing lime in mercury. Some scientist were working in a labratory in the 1800’s and that is how it was discovered.