Who lived in the Heidelberg castle?

Prince Ruprecht III was the one who made this castle and used to live in the Heidelberg Castle.