The Turkish man who shot Pope John Paul II in 1981 was released from prison on Monday after more than 29 years behind bars. Mehmet Ali Agca waved to journalists as he left the prison in a white sedan car in a convoy of several vehicles. He was taken to a military hospital to be assessed for compulsory military service. A 2006 military hospital report said he is not fit for military service because of a "severe anti-social personality disorder." There have been long-standing questions about the 52-year-old Agca's mental health based on his frequent outbursts and claims that he was the Messiah. In a statement on Monday, distributed by his lawyer outside the prison in Sincan on the outskirts of Ankara, the Turkish capital, he raved again: "I proclaim the end of the world. All the world will be destroyed in this century. Every human being will die in this century. ... I am the Christ eternal." Agca is undergoing medical examination at a psychatry department of the military hospital, GATA, said a lawyer, Melahat Uzunoglu. "I don't think he will serve in the military," Uzunoglu said, adding that the medical exam could take several hours. Dozens of journalists and TV crews gathered outside the entrance of the military hospital, although his lawyers said he is not likely to speak on Monday. Agca shot John Paul on May 13, 1981, as the pope rode in an open car in St. Peter's Square. The pontiff was hit in the abdomen, left hand and right arm, but the bullets missed vital organs. John Paul met with Agca in Italy's Rebibbia prison in 1983 and forgave him for the shooting. Vatican spokesman the Rev. Federico Lombardi said there were no plans to comment on the release. Robert Necek, spokesman for Cardinal Stanislaw Dziwisz of Krakow, Poland, who served as secretary to John Paul II, also would not comment. The motive for the attack remains unclear but has not been linked to Islamic issues. When Agca was arrested minutes after the attack, he declared he had acted alone. Later, he suggested Bulgaria and the Soviet Union's KGB were behind the attack, but then backed off that line. His contradictory statements have frustrated prosecutors over the decades. Agca has said that he will answer questions about the attack after he is released from prison. His lawyer said he would not speak on Monday but would rest in Ankara. Agca is expected to travel to Istanbul later, private NTV television said. "We are not running away from the media, he may speak in a few days," lawyer Gokay Gultekin said.