Ripunjaya was the last Puranic Brihadratha king of Magadha.
His minister killed him, following which, the throne went to Bimbisara of the Haryanka clan.
[1]