A compound of the formula ##STR1## wherein R.sup.1 is a hydrogen atom or a hydrocarbon group which may be substituted; COOR.sup.2 represents a carboxy group which may be esterified; and ring B is a cyclic group which may be substituted or a pharmaceutically acceptable salt thereof are useful as an antibacterial agent.