During Raja Ranjeet Singh’s (1780-1839 )rule ? that is the only time when Punjab was an independent state.