Additional Sessions Judge Islamabad Muhammad Afzal Majoka announced the verdict in the cybercrime case.
The court also imposed a fine of Rs1 million on convict Raja Haris Naveed, and in default of payment he will serve a further six months in prison.
The court acquitted co-accused Shahzeb Mairaj, giving him the benefit of the doubt after the charge of aiding the crime was not proved.
According to the case, the main accused lured the 16-year-old matriculation student by deceit and locked him in a drawing room, where he harassed him at gunpoint and recorded an indecent and objectionable video without his consent
