US crude inventories declined by 5.3 million barrels in the week to May 24 to 474.4 million, data from industry group the American Petroleum Institute showed.