Local man earns DWI charge