Updated

A former employee of international hotel conglomerate Marriott, decided to seek revenge Robin Hood style after being fired back in August 2016.

A few weeks after being let go from his position, Juan Rodriguez hacked into the hotel's online reservation system and reduced rates on over 3,000 rooms from $159 to $499 per night, down to $12 to $59-- practically giving rooms away for free, according to TMZ.

LOOKING FOR A CLEAN HOTEL? DON'T JUST TRUST THE RATINGS

According to the court documents, however, Rodriguez was reportedly warned to stay away from the company computer system after he was fired.

But the ex-employee was caught last week because he failed to hide his IP address while he was hacking into the reservations system. The IP address used at his home in New York City matched an IP address used for his remote access. Rodriguez has been arrested and charged with three felonies, including computer tampering and computer trespass.

The alleged hacking cost the Marriott organization over $50,000 in lost revenue.

FOLLOW US ON FACEBOOK FOR MORE FOX LIFESTYLE NEWS

But this isn't the first time Marriott has run into trouble with hacking. Two months ago, hackers got into the door lock system with ransomware at a hotel in Austria, locking guests out of their rooms, according to HackRead.

In order to get the key lock system restored, the hotel had to pay the hackers $1,600 in random money.