British Prime Minister Theresa May's government averted a rebellion in Parliament on Tuesday over plans to ditch the European Union's Charter of Fundamental Rights, promising to review its approach and make changes if needed.

Parliament is debating legislation to enact Britain's exit from the EU in March 2019 and copy EU law into British law — described by officials as "one of the largest legislative projects ever undertaken in the U.K."

The bill is testing May's ability to govern effectively after she lost her parliamentary majority in June, leaving her leading a fragile minority government and in charge of a Conservative Party divided on how best to manage the split from the EU.