A Waldorf man plead guilty to unlawful discharge of oil after prosecutors said he illegally dumped thousands of gallons of diesel fuel.