A federal court dismissed a lawsuit against Google over its practice of allowing companies to buy search-related ads that are displayed when people type in the name of a competitor. In early 2005, computer repair company Rescuecom sued Google in U.S. District Court for the Northern District of New York, alleging that Google was violating trademark by selling ads to Rescuecom's competitors that show up next to search results when someone types in "Rescuecom."