Rio mayor Eduardo Paes carries the Olympic torch after its arrival at the Naval Academy on Guanabara Bay, ahead of Friday's opening ceremony.
TASSO MARCELO/AFP/AFP/Getty Images
Paes (center) receives the Olympic Torch from Brazilian Olympians Torben Grael and his brother Lars.
TASSO MARCELO/AFP/AFP/Getty Images
Torben Grael won two gold medals as a Star Class sailor, while younger sibling Lars (right) won bronzes in the Tornado class in 1988 and 1996.
TASSO MARCELO/AFP/AFP/Getty Images
Security was tight as the Olympic flame arrived in Rio. Here, military police pass on the back of a truck ahead of the torch relay in the city's North Zone.
Mario Tama/Getty Images South America/Getty Images
An Olympic torch bearer runs past the crowds held back by lines of security. National force police reportedly used tear gas and rubber bullets against protesters along the torch route Wednesday.
YASUYOSHI CHIBA/AFP/AFP/Getty Images
CNN spoke to a man who witnessed Wednesday's protest and recorded video of the incident. He said that the event was largely peaceful and aimed at the mayor, with protesters complaining about the lack of infrastructure in the city.
Mario Tama/Getty Images South America/Getty Images
Actress Katerina Lechou lit the Olympic Torch for the 31st Games in Olympia, Greece, on April 20.
Milos Bicanski/Getty Images Europe/Getty Images
The torch has since been working its way towards Rio and has been carried by numerous athletes and dignitaries. Syrian refugee and amputee swimmer, Ibrahim al-Hussein, passed through the Eleonas refugee camp in Athens with the flame on April 26.
LOUISA GOULIAMAKI/AFP/AFP/Getty Images
The Olympic flame arrived in Brazil in May via its own private flight from Switzerland. It was kept inside a gold lantern and transferred to the Planalto presidential palace in Brasilia.
Igo Estrela/Getty Images South America/Getty Images
Brazilian president Dilma Rousseff then relit the Olympic torch on May 3. The flame has since passed through 329 cities on its way to Rio de Janeiro.
Buda Mendes/Getty Images South America/Getty Images
Brazilian sailor Felipe Rondina carried the Olympic flame on a speedboat at Lake Paranoa.
YASUYOSHI CHIBA/AFP/AFP/Getty Images
Canoeist Rubens Pompeu also carried the Olympic flame on an outrigger canoe at Lake Paranoa.
YASUYOSHI CHIBA/AFP/AFP/Getty Images
The torch has been carried by 12,000 people throughout its journey across the Brazil. Here, Brazilian fireman Haudson Alves descends from a helicopter carrying the Olympic flame on a lantern at the Brasilia National Stadium in Brasilia on May 3.
BETO BARATA/AFP/AFP/Getty Images
But the relay has not been without controversy. An Amazonian jaguar was shot dead shortly after participating in Olympic torch relay event in June. According to the Brazilian military, the jaguar escaped its handlers and attacked a soldier before it was killed.
Reuters
Rio's Maracana stadium will host the opening ceremony of the first Olympics to be held in South America, which run from August 5-21.