The British government is weighing potential legislation that could bar Prince Andrew from ascending the throne after his arrest on Thursday.

Andrew Mountbatten-Windsor, who turned 66 the day he was taken into custody, was questioned over allegations tied to his tenure as the United Kingdom’s special representative for international trade and investment from 2001 to 2011. Authorities allege he shared confidential trade documents with the late financier Jeffrey Epstein. Andrew has denied any wrongdoing connected to Epstein.

If convicted of misconduct in public office, Mountbatten-Windsor could face a life sentence under British law. Discussions about removing him from the line of succession would likely proceed only after the criminal investigation concludes.

Andrew currently remains eighth in line to the throne despite having been stripped of his royal titles and official duties in October. Earlier this month, he was also asked to vacate his royal residence.

Born to Queen Elizabeth II, Andrew was once second in line to the throne behind his older brother, King Charles III. His position shifted over the years as Charles’ children and grandchildren were born.

Andrew was seen leaving Aylsham Police Station several hours after his arrest and did not comment to reporters. In a statement, King Charles said he supports the legal process.

“The law must take its course,” the monarch said. “What now follows is the full, fair and proper process by which this issue is investigated in the appropriate manner and by the appropriate authorities.”