Added support for xth century