Did God promise a pope on the throne of david until the end of time?

Did the First Vatican Council declare a pope until the end of time?