Does eviction affect your credit negatively?

An eviction lawsuit is public record and a judgment evicting you from a rental property will be a negative entry on your credit report.