Sept. 4 (UPI) -- Former President Joe Biden had a procedure done to remove cancerous skin cells, his spokesperson announced Thursday.

His team confirmed to NBC News and ABC News that Biden had a Mohs surgery, which removes affected skill cells. Doctors typically use the procedure to treat various types of skin cancer, including basal cell carcinoma, squamous cell carcinoma and melanoma.

The spokesperson said Biden was recovering well from the procedure but declined to specify the former president's exact diagnosis.

It wasn't revealed when he had the surgery, though NBC News reported he was spotted leaving church in Greenville, Del., in late August with a bandage on his head.

Doctors removed a basal cell carcinoma lesion from Biden's chest in March 2023. That procedure required no additional treatment.