The Brazilian mistakenly killed by British police last week has been buried in his home town.
Thousands are said to have viewed the coffin in Gonzaga
Jean Charles de Menezes was shot last Friday by officers searching for those behind the attempted attacks on London's transport network on 21 July.
A memorial has also been held for the former electrician at London's Westminster Cathedral, to coincide with the service in Brazil.
And family and friends have held a vigil in the city's Parliament Square.
The British police have apologised for the shooting, which is the subject of an independent inquiry.
The Home Office has said that Mr Menezes' documents were not in order.
The Brazilian foreign ministry has said that irrespective of Mr Menezes' status, British police are responsible for the death of an innocent man.
More than 8,000 people are said to have visited the church in the rural town of Gonzaga, where Mr Menezes' coffin was on display.
His body was accompanied from London by three cousins and a Brazilian embassy official.
The coffin entered Gonzaga on a fire truck, which led a procession of about 100 cars.
Mourners have put up banners calling Mr Menezes a martyr.
His body was laid to rest in a hillside cemetery, with hundreds of mourners in attendance.
Gonzaga, about 650km (400 miles) south-west of Brasilia, has some 6,000 residents - but about 1,500 more have emigrated to Europe or the US in search of a better life.
In recent days, people have staged protests by the British embassy in Brasilia and the British consulates in Rio de Janeiro and Sao Paulo, asking for justice.