This looks like the McGovern nomination in 1972.
The party leaders just lost control in 1972 and had to take their beating—in the real world it happens—rarely—but it happens.