From Hamilton diehards to Adele fans, bots have plagued customers purchasing tickets online for years. Now, the federal government has taken action to curtail these digital scams with the aptly titled Better Online Ticket Sales (BOTS) Act, which President Obama signed into law on Thursday.

According to a press release from the White House, the new legislation “prohibits the circumvention of control measures used by Internet ticket sellers to ensure equitable consumer access to tickets for certain events.”

New York Sen. Chuck Schumer, who was among the bill’s sponsors, described the measure more bluntly earlier this month: “By eliminating ‘bots’ and slapping hackers with a hefty fine, we can better ensure those who want to attend shows in the future will not have to pay outrageous, unfair prices,” he wrote in a statement.

Ticket scalpers use bots as an automated, speedy way to quickly snatch up desirable tickets for concerts, reselling them at significantly inflated prices through secondary markets. In 2013, the ticket retailer Ticketmaster estimated that bots sometimes purchase more than 60 percent of the tickets for a given show; the company praised the passage of the BOTS Act. “On behalf of artists, venues, teams, and especially fans, Ticketmaster is pleased that the BOTS Act is now a federal law,” Ticketmaster announced. “Ticketmaster worked closely with legislators to develop the BOTS Act and we believe its passage is a critical step in raising awareness and regulating the unauthorized use of Bots.”