Twitter has filed a lawsuit against Donald Trump's administration, as it claims US Customs and Border Protection officials tried to get the company to reveal the identity of an anonymous account.
The account, @ALT_uscis, is said to have been critical of the agency and it claims it is run by an employee of the government, according to The Hill.
The lawsuit claims Customs and Border Protection (CBP) officials issued an administrative summons to Twitter, in order to try and discover the person behind the account.
The United States Citizenship and Immigration Services (USCIS) is also named in the lawsuit.
Agents from the CBP Adam Hoffman and Stephen Caruso told Twitter it was "required to turn over" information about the account such as login details, phone numbers, addresses and IP addresses, according to the lawsuit.
The adminstrative summons also allegedly claimed Twitter would be taken to federal court if they didn't comply.
Twitter said the attempt to find out information about the account is a violation of its First Amendment rights.
The lawsuit also claims that the summons was improperly employed, as Twitter believes it is only supposed to be used in relation to mechandise imports.
The CBP has not commented on the lawsuit.