contestada

Is the sentence grammatically correct or incorrect.

Viví en este apartamento hace dos años.