During the same period, Michelangelo painted the ceiling of the Sistine Chapel, which took approximately four years to complete (1508–1512).[35] According to Condivis account, Bramante, who was working on the building of St Peters Basilica, resented Michelangelos commission for the Popes tomb and convinced the Pope to commission him in a medium with which he was unfamiliar, in order that he might fail at the task.[36]