A farmer in western P.E.I. has pleaded guilty to two charges connected with a fish kill in the Trout River in 2011.

Warren Ellis, 59, was charged in July 2012 under the federal Fisheries Act with allowing a deleterious substance into the water. He also faced a charge under the provincial Crop Rotation Act of growing potatoes on his land twice in less than three years.

Ellis pleaded guilty to both charges Monday. Four other charges were dropped.

The charges were laid in connection with a fish kill in July of 2011. Thousands of mature fish died in the river, and traces of pesticide were found in samples taken from the river.

Ellis is no longer farming. He is due back in court for sentencing Jan. 9.