Additional District Sessions judge Arvind Kumar Upadhaya also imposed a fine of Rs 2000 each on both the convicts, Mukesh and Mahesh, said Assistant District Government Council Yashpal Singh.
They were found guilty under Section 302 (punishment for murder) of the IPC, he said.
The duo had shot dead Thakur Mahar Singh, a school manager, when he was returning from his institution in Shahbuddin Road locality on April 21, 2004.
An FIR in this regard was filed by the victim's son.