A Batley man will be sentenced next month after a cannabis farm was found at his home.
Tariq Ditta, of Clifton Terrace in Batley, pleaded guilty at Kirklees Magistrates court to producing the class B drug on July 14.
The court was told that officers recovered 37 plants growing at his property when acting on a local tip off they searched his home.
45-year-old Tariq Ditta will be sentenced at Leeds Crown Court on March 10.