Hertha Berlin have secured a return to the Bundesliga after beating Sandhausen 1-0 in the second division at Berlin's Olympic Stadium on Sunday.