A Filipino administrator working in Dubai was sentenced to six months in jail after pleading guilty to secretly filming his former Filipino roommate partially naked in her bedroom.

Last November, the Filipino man, 38, filmed his roommate, 24, while she was partly naked and getting ready for work, Gulf News reported.

The pair had been sharing an apartment at Dubai Investments Park.

The woman was informed by a friend that the man had sent the video to him and boasted that he had filmed her naked. The friend showed her the 10-second video of herself semi-nude.

After seeing the video, the woman reported the matter to police, who arrested man. He was charged with breaching the woman’s modesty and privacy and molesting her by secretly filming her.

At the Dubai Court of First Instance, the man pleaded guilty to the charges and was sentenced to six months in prison on Thursday.

Read: Man pleads guilty to filming Filipina roommate naked