A bolt of lightning struck St. Peter's Basilica a few hours after Pope Benedict XVI said he was resigning.