Toddler Bed Drama

Our 20 month old is having a really tough time at bedtime. He’s never been a good sleeper - we’ve struggled with him from the very beginning - but when he was in his crib we could know he was safe and let him cry and he did get into a pattern where he wasn’t crying as much and accepting that it was time to sleep. But when he woke up he started to climb out of his crib and to climb out in the middle of the night too. So we switched him to a toddler bed so he wouldn’t hurt himself climbing out of the crib. But now it’s like we’re starting over with getting him to sleep and it used to take 10-30 minutes, now it takes 2 hours. He wants to play or wiggle or get up and then down again out of the chair or pull out books, etc. Any tips?