The present invention relates to an optically pure compound of formula (I) or a pharmaceutically acceptable salt or hydrate thereof, a process for preparing the optically pure compound of formula (I), and use of the optically pure compound of formula (I) or a pharmaceutically acceptable salt or hydrate thereof as a medicament, in particular as a medicament for the treatment and prevention of type B hepatitis.