Chilean President Sebastian Pinera was slapped with a $3,500 fine on Friday after posing for a selfie on the beach with a bystander without wearing a mask as required during the coronavirus pandemic, health authorities said, Reuters reported.

Chile has strict rules on mask wearing in all public places, and violations are punishable with sanctions that include fines and even jail terms.

Pinera apologized then turned himself in shortly after the selfie surfaced on social media in early December.

The president explained he had been walking alone along the beach near his home in the posh Chilean seaside town of Cachagua when a woman recognized him and asked for a photo together.

Chile has reported 581,135 cases of the virus since the outbreak began in March, and 16,051 deaths from the disease.