RANDOLPH, N.Y. (AP) _ He wasn't nominated, he didn't campaign, but neither did anyone else, so Justin Weaver wrote in his name for town judge when he went to the ballot booth.

He won - one vote to none.

The town board in Randolph, 50 miles south of Buffalo, voted this year to abolish one of its two town-justice positions at the end of 1993.

No one ran for the single-year term, so the line for the position was blank on the Nov. 3 ballot.

Town officials had expected to leave the job vacant for its final year and didn't budget anything for a salary. Then elections officials found Weaver's write-in vote.

''It's kind of a fluky thing,'' said Linda Milks, Cattaraugus County elections commissioner. ''It shows that one vote does count.''

The 20-year-old Weaver could not be reached for comment Friday on whether he plans to serve. There was no answer at his home.

The position had been vacant since the death last year of incumbent Raymond Hovey. The town's other justice is paid $8,000 a year to hear minor court cases, Town Clerk Charles Crissey said.