NGC 5164NGC 5164 is a barred spiral galaxy in the constellation Ursa Major. It was discovered by William Herschel on April 14, 1789.