Millions of Brazilians voted Tuesday for mayors and city councilors in nationwide elections considered a popularity test of President Jose Sarney's beleaguered government.

Some campaign workers were arrested for violating a law that prohibits campaigning within 100 yards of polling stations. They tried to hand out sample ballots with their candidate's name written in.However, no serious incidents were reported by early afternoon.

People waitied patiently in lines up to four blocks long after polls opened at 8 a.m.