Sandiford's lawyer said it was very rare that judges delivered a sentence so much harsher than the prosecution had recommended, the BBC's Jakarta correspondent Karishma Vaswani reported from the court.
The BBC's Karishma Vaswani in Jakarta says the Indonesian people have been truly shocked by these attacks as they thought they had put events like this behind them.