Petitioner, the accused in C.C No.631/2005 taken cognizance of the offences under Sections 447, 427 and 380 of Indian Penal Code on the file of Judicial First Class Magistrate's Court-II, Thiruvananthapuram filed this petition under Section 482 of Cr.P.C to quash the cognizance taken. The case of the petitioner is that learned Magistrate did not apply his mind and based on the complaint and sworn statement cognizance could not have been taken. The contention is that second respondent complainant has no locus standi to file the complaint . According to the complainant, the building was obtained on rent by the wife of the second respondent and Sankarankutty Nair. Subsequently, Sankarankutty Nair surrendered his rights to the wife and she continued possession of the building and if that be so, only the wife of the 2nd respondent is entitled to file a complaint and not by the husband. It is also contended that there is no material to show that offences was committed by the petitioner who is the landlord of the building.