Meta has agreed to a $1.4bn settlement with Texas in a privacy lawsuit over claims that the tech giant used biometric data of users without their permission, officials said Tuesday.

Texas attorney general Ken Paxton said the settlement is the largest secured by a single state. In 2021, a judge approved a $650m settlement with the company, formerly known as Facebook, over similar claims of users in Illinois.

“This historic settlement demonstrates our commitment to standing up to the world’s biggest technology companies and holding them accountable for breaking the law and violating Texans’ privacy rights,” Paxton, a Republican, said in a statement.

Meta said in a statement: “We are pleased to resolve this matter, and look forward to exploring future opportunities to deepen our business investments in Texas, including potentially developing data centers.”

Filed in 2022, the Texas lawsuit alleged that Meta was in violation of a state law that prohibits capturing or selling a resident’s biometric information, such as their face or fingerprint, without their consent.

The company announced in 2021 that it was shutting down its face-recognition system and delete the faceprints of more than 1 billion people amid growing concerns about the technology and its misuse by governments, police and others.

At the time, more than a third of Facebook’s daily active users had opted in to have their faces recognized by the social network’s system. Facebook introduced facial recognition more than a decade earlier but gradually made it easier to opt out of the feature as it faced scrutiny from courts and regulators.

Facebook in 2019 stopped automatically recognizing people in photos and suggesting people “tag” them, and instead began askeing users to choose if they wanted to use its facial recognition feature.