SAO PAULO -- Children returned to school and most public transport began operating again on Monday in a Brazilian state that was paralyzed by a protest that prevented military police from patrolling.

Amid fears that a similar protest could erupt in the days before Carnaval, the Brazilian government announced it would deploy military forces to police the state of Rio de Janeiro.

Businesses were reopening Monday in Espirito Santos state's capital of Vitoria, which the defence minister had earlier described as a ghost town. Many people returned to work and could be seen running to catch buses in television images of the morning commute.

The return to normalcy came as hundreds of police decided to return to duty, even as protests led by their friends and relatives continued outside barracks around the state.

The protesters are demanding higher pay for the police officers, who, by law, are not allowed to strike. Officers claimed the protests kept them confined to their barracks and prevented vehicles from leaving, paralyzing the force for more than a week.

The result was an extraordinary wave of violence in Espirito Santo: Buses were burned, shops were looted, and the union representing civil police said 146 people were killed since the protests began 10 days before. Amid the insecurity, many state services were suspended, and more than 3,000 federal troops were called in to keep the peace.

Over the weekend, police started to cross the barricades -- some were even airlifted from the roof of their barracks by helicopter. On Monday, the Department of Public Safety said nearly 1,200 were on duty, slightly fewer than showed up a day earlier.

There are more than 10,000 military police in the state, and, on a normal day, around 2,000 would be on patrol.

Public schools that closed last week reopened Monday, the Espirito Santo state government said in a statement. Public transport in Vitoria was operating nearly a full schedule, and health centres also reopened.

In a news conference Monday, Brazilian President Michel Temer called the police halt "an insurgency against the Constitution." Authorities have threatened to prosecute officers who do not respond to the calls to return to duty.

Shortly later in the day, Temer accepted Rio de Janeiro state's request for military troops to help police. The agreement was confirmed by Marina Mello, a spokesman of Brazil's Defence Ministry. Details of the agreement will be announced on Tuesday, Mello said.

Riots have broken out in Rio in the past during state legislature votes on austerity measures.

Most Rio officers appeared to be at work on Monday despite suggestions they could launch a movement similar to the one that caused chaos in Espirito Santo.

Rio state police officers have complained about delays in the payment of their salaries but part of that money was expected to arrive in their bank accounts by Tuesday, officials said.