In your case the Adverse possession is worked out. So the case was dismissed.
When Trespassers Become Property Owners ?
Under certain circumstances, a trespasser can come onto your land, occupy it, and gain legal ownership of it. The legal term for this is "adverse possession." Adverse possession is a legal theory under which someone who is in possession of land owned by another can actually become the owner if certain requirements are met for a period of time defined in the statutes of that particular jurisdiction. Adverse possession was historically used as a means of encouraging people to bring unused or uninhabited land into productive use.
Adverse possession requires that an occupation be:
1. Hostile - The claimant must occupy the property for the full statutory period of limitation by knowing fully well that he/she does not have any legal right to posses /occupy that property. The intention of the trespasser must be to acquire title to the property by adverse possession against the true owner
2. Actual Possession: The adverse possession must be actual possession such as construction of house, erection of shed or some structure, fencing the property, grazing cattle in the land, farming and harvesting of crop in the land, planting and cutting trees etc. for the entire period of statutory period of limitation.
3. Open and uninterrupted The possession and occupation of the property by the trespasser/claimant must be in specific period.
4. Exclusive and continuous – The possession and occupation of the property by the trespasser/claimant must be continuous, uninterrupted and unbroken for the entire statutory period of limitation. Development of the land, construction of house or erecting boundary walls is examples of “Exclusive possession”. It must not be token possession or pseudo possession.
These must be met for a specified period of time. The statutory period of limitation for possession of immovable property or any interest therein, as stipulated in section 65 of Limitation Act, 1963, is 12 years in case of private property and 30 years in case of Government/state/public property from the date since the trespasser adversely possesses the property of the true owner that is when adverse possession is applicable.
After expiry of the statutory limitation period, there cannot be any cause of action and the adverse possessor acquires the right, title and interest of the original owner(s) of the property. He/she becomes entitled to deal with the said property in the way he/ she likes or desires.