This document presents a study on using a neural network (NN) controlled dynamic voltage restorer (DVR) to mitigate harmonics and improve power quality. The DVR is used to inject compensating voltages and reduce harmonics caused by sensitive loads. The NN controller is trained using the Levenberg Marquardt algorithm. Simulation results show the NN-controlled DVR significantly reduces total harmonic distortion from around 3-4% to below 0.2%. Hardware testing verifies the simulation results and demonstrates effective harmonic mitigation. The study concludes the proposed NN-controlled DVR provides effective compensation of harmonics from sensitive loads to improve power quality.