CGI, the Canadian company whose U.S. subsidiary built the failed Obamacare website, was once contracted to build a federal gun registry for the Canadian government, Breitbart News has learned.

CGI’s contract was canceled in 2007 after a report by the Auditor General found that the Canadian Firearms Information System (CFIS) being built by CGI was “significantly over budget” and that it had been plagued by delays.

The Conservative government that took power in 2006 canceled CGI’s gun registry contract, and eventually repealed the Canadian gun registry entirely.

In another parallel to the Obamacare controversy in the United States, the gun registry had been passed in 1993 over vehement Conservative objections, and was upheld by the Supreme Court of Canada in 2000, before finally being repealed in most of the country in 2012.

The failed gun registry was only one of CGI’s many Canadian failures, which included canceled contracts to build health care databases in the provinces of Ontario and New Brunswick. Despite CGI’s checkered record, the Obama administration awarded its U.S. subsidiary, CGI Federal, the $93.7 million contract to build healthcare.gov, part of $678 million in health care services contracts awarded to the company.

Brian Lilley of Canada’s Sun News reported Monday on CGI’s history of failures, cost overruns, and conflicts of interest, including the gun registry:

CGI was hired to make sure that the then-Liberal government’s gun control program was efficient and high-tech. It never worked the way it should have. Was it bad programming or bad government decisions? The truth is, we don’t know–we just got stuck with the bill.

The Canadian government spent $10 million to cancel the contract, on top of $81 million already spent–close to $100 million in U.S. dollars at the time.

The U.S. does not have a gun registry, but one would be required, according to Breitbart News’ AWR Hawkins, to implement the universal background checks that Democrats and the Obama administration tried to push through Congress earlier this year.