A complaint sufficiently alleges a cause of action for unlawful detainer if it states the following elements:

  1. Initially, the possession of the property by the defendant was by contract with or by tolerance of the plaintiff.

  2. Eventually, the possession became illegal upon the plaintiff's notice to the defendant of the termination of the latter's right of possession.

  3. Thereafter, the defendant remained in possession of the property and deprived the plaintiff of the latter's enjoyment.

  4. Within one year from the making of the last demand on the defendant to vacate the property, the plaintiff instituted the Complaint for ejectment. Republic vs. Sunvar Realty Development Corporation, G.R. No. 194880, June 20, 2012