New York's attorney general has announced a settlement with Trump Hotel Collection, saying the company has agreed to pay $50,000 and shore up data security after breaches exposed more than 70,000 credit card numbers and other personal data.

The attorney general's office says Friday that in May 2015 multiple banks analyzed hundreds of fraudulent credit card transactions and determined the hotel group was the last merchant with legitimate transactions.

Authorities say the company knew by June 2015 that hotels in New York City, Miami, Chicago, Honolulu, Las Vegas and Toronto had been compromised, but didn't notify customers for four months.

They say a hacker infiltrated the hotel group's payment processing system in May 2014.

The company, one of Republican presidential nominee Donald Trump's businesses, says safeguarding customer data is a top priority and that cyber criminals have hacked nearly every major hotel company.