An Argentinian-American writer and immigration advocate recently sued the federal government, demanding that it delete data that he believes was copied off of his phone when he re-entered the United States earlier this month.

According to the seven-page complaint, Thomas Kennedy said that a Customs and Border Protection agent at Miami International Airport physically searched his bags, questioned him about his books and magazines, and then demanded that he hand over his phone.

“[The agent] threatened me, saying that if I didn’t give him my phone, my interrogation was going to take much longer and they could retain my phone indefinitely,” Kennedy wrote. “I felt like I had no choice, so I handed my phone to the CBP agent.”

The agent took the phone away and only returned after approximately 45 minutes, during which Kennedy believes that data on the phone was copied. He was then released with no charges.

The activist says there is a significant amount of sensitive personal and professional information on his phone, and he is now seeking that the government delete this data.

He collaborates with multiple nonprofit groups, including the Florida Immigration Coalition, Amnesty International and the Community Justice Project. He now believes that he was targeted for this work, in part because he was asked repeatedly what he did for a living and if he was an immigration attorney.