An external drive containing a copy of all Quebec gun registry data has been handed over, a federal court clerk has confirmed to CTV News.

A court spokesperson told CTV's Katie Simpson that the hard drive was transferred at approximately 9:25 on Tuesday morning, a little more than 30 minutes ahead of the court-imposed deadline.

The hard drive will be kept in a safe, the spokesperson said.

After a day-long hearing on Monday, federal court Judge Luc Martineau gave Public Safety Minister Steven Blaney and the commissioner of the RCMP until 10 a.m. to deliver the hard drive.

Read more about this issue