The man who surreptitiously filmed the infamous video showing former Mayor Rob Ford (open Rob Ford's policard) smoking crack cocaine and tried to sell it to the media pleaded guilty Monday to trafficking guns and cocaine.

Mohamed Siad, 29, apologized in court to his family and expressed remorse for his actions after admitting to being “closely affiliated” with members of the Dixon City Bloods, the gang that was the target of the Project Traveller police investigation in 2013.

According to the agreed statement of facts filed with the court, Siad was caught on wiretaps discussing the sale of guns and drugs in Windsor and Toronto.

The Crown is seeking a sentence of 10 years, the defence is seeking seven years.

Along with several members of Siad’s family, Alexander “Sandro” Lisi was also present in the courtroom before attending his own brief court appearance in a different courtroom.

Lisi, Ford’s friend and occasional driver, was initially charged with extorting two men — one of them Siad — to obtain the crack video. The charge in relation to Siad was dropped, but Lisi still faces an extortion charge related to Liban Siyad with a trial date to be set Thursday.

Siad has been in custody since he was arrested in the Project Traveller raids on June 13, 2013, just over a month after he showed two Toronto Star reporters the video of Ford he’d shot with his phone.

The Toronto Star and Gawker both reported on the contents of the video, leading to the police beginning an investigation of Ford under the name Project Brazen 2 (he was never charged).

While Ford denied drug use and the existence of the video for six months, he eventually admitted to having smoked crack cocaine.

Police documents unsealed by the courts show the crack video and a second video — selfie-style — of Siad taken later that night were seized by police during the raids.

In the second clip, Siad explains that to secretly film someone, you should just pretend to be playing with your phone, according to a police officer’s description of the video’s contents, which states: “He then advises that’s how you would catch a person slipping. He then goes on to say, ‘or even catch a mayor smoking crack.’ ”

In court, Siad’s lawyer noted that Siad has a very supportive family, with siblings who are successful — one is a pharmacist, two are in medical school — and argued that he is likely to turn his life around once he is released from prison.

Siad will be sentenced Tuesday afternoon.