RIO DE JANEIRO-A female athlete from the favelas won Brazil's first gold medal of the Rio Games on Monday as Michael Phelps stepped up his campaign for yet more Olympic honours.

Rafaela Silva, who grew up in Rio's notorious City of God slum, upset world number one Sumiya Dorjsuren to win the women's under-57kg judo, sparking pandemonium among fans. Silva sank to her knees in delight after a win that jump-starts Brazil's Olympic campaign and secures only their second medal after Felipe Wu's shooting silver.

"It's great for kids who are watching judo now. Seeing someone like me who left the City of God, who started judo at five years of age as a joke," said Silva. To be world champion and Olympic champion is something inexplicable."

Earlier Phelps, who grabbed his 19th Olympic gold medal late on Sunday, was back in action as he eased into the semi-finals of his signature event, the 200m butterfly. "I probably got to sleep at 3:00 am and was on an 11:00 am bus, so quick turn-arounds," Phelps said. "But the good thing is we have a long time between the prelims and finals, so we are able to rest."

Katie Ledecky and Sarah Sjostrom also had a fast turn-around as they tackled the 200m freestyle heats after world record-breaking wins on Sunday night. "It was pretty hard coming off of last night," said Ledecky, who was accepting her 400m freestyle gold as the clock struck midnight. Just got a couple hours of sleep, but I think that was probably going to be my hardest swim of the week so I'm glad it's over with."

Hungary's 'Iron Lady' Katinka Hosszu will be one to watch when she competes in Monday's 100m backstroke final, after smashing the 400m individual medley world record on Saturday. Also in focus, but for very different reasons, will be Russia's Yuliya Efimova who has been taunted by fans and fellow swimmers over her drug-tainted past.

Officials sought to calm trash-talking between athletes after Australia's Mack Horton called China's Sun Yang a "drugs cheat", sparking a furious response from Chinese state media. "Clearly we want to encourage freedom of speech," said International Olympic Committee spokesman Mark Adams. But on the other hand of course the Olympics is about respecting others and respecting the right of others to compete," he added.

Organisers also scrambled to replace the Chinese flag used at official ceremonies after the discovery of a flawed design drew a formal complaint. "We do understand that there is a problem with the flag. It's very small," said Games spokesman Mario Andrada. You have to be very familiar with the Chinese flag to understand that. However we need to correct it."

The four small, gold stars on the Chinese flag are pointing upwards rather than towards the bigger star, as they are supposed to, a mistake which was poorly received by patriotic Chinese. However, Chen Aisen and Lin Yue won the men's 10m platform diving, putting China top of the medals table alongside Australia with four golds midway through day three.

Kohei Uchimura completed his collection of gymnastics titles on Monday by leading Japan to men's Olympics team gold, with Russia returning to the podium for the first time since 2000 to take silver.

But two-time reigning champions China were restricted to bronze in a thrilling final which went down to the wire at the Rio Olympic Arena. The 27-year-old Uchimura had already won all-around gold in London 2012 and 10 world medals including six consecutive individual titles.

But despite his individual accolades the gymnast known as "King Kohei" had taken just two silver in the Olympic team event behind China in 2008 and 2012. "We put in a lot of effort to come this far. This was the event in which I wanted to win gold," Uchimura said of his sixth Games medal, with the possibility of two more in the all-around and on floor to come.

Kohei Uchimura of Japan competes on the floor during the Rio Olympics men's team final.–Reuters

Sumiya Dorjsuren of Mongolia and Rafaela Silva of Brazil compete during the women judo -57kg final.–Reuters