The present invention provides a wholly aromatic liquid-crystalline polyester consisting of the repeating units represented by formulae (I), (II), (III) and (IV):