A Chinese court ruled Friday against the defendant in the country’s first lawsuit over employment discrimination against people who are HIV-positive, the man’s lawyer said.

The defendant, identified only by the nickname “Little Wu,” brought the suit in the eastern city of Anqing after being refused a teaching job because he tested positive for the virus that causes AIDS.