CRANSTON, R.I. (WPRI) — Right before he was set to attend the swearing-in ceremony of his successor, outgoing Cranston Mayor Allan Fung tested positive for COVID-19.

Fung, who served as the city’s mayor for 12 years, said he learned of his diagnosis after taking a precautionary COVID-19 test prior to Monday night’s ceremony.

“2021 is no less full of surprises it seems,” he wrote in a tweet, adding that he is asymptomatic.

Fung received his test results right before now-Mayor Ken Hopkins took the oath of office, meaning he could not attend the event.

The diagnosis comes the day before his wife, Barbara Ann Fenton-Fung, is slated to take over for former R.I. House Speaker Nicholas Mattiello, who she unseated as District 15’s representative last fall.

Fenton-Fung — who had previously contracted with COVID-19 back in April and said she has already received her first dose of the Moderna vaccine — was set to be sworn in Tuesday.

She said she also took a precautionary COVID-19 test on Monday, and while her results came back negative, she decided to err on the side of caution and not attend the first day of legislative session.

“We consulted with my own doctors and the R.I. Department of Health, and at the end of the day, we just used common sense,” Fenton-Fung said in a statement. “Many of my future colleagues aren’t 20 years old anymore and have health vulnerabilities. I would not want to do anything to put their health in danger or make them feel uncomfortable.”

Fenton-Fung said she informed House Speaker-elect Joseph Shekarchi of her decision and he was very supportive. She will take the oath of office separately at a time and date which has yet to be determined.