In the 1840s red phosphorus was discovered, which was more stable when exposed to the air.
Red phosphorus, discovered in the 1840s, proved to be more resistant to oxidation when left in contact with air.