SINGAPORE (AP) -- Lee Kuan Yew, the founder of modern Singapore who was both feared for his authoritarian tactics and admired worldwide for turning the city-state into one of the world's richest nations while in power for 31 years, died Monday. He was 91.
Lee was admitted to Singapore General Hospital on Feb. 5 for severe pneumonia and was later put on life support.
The Prime Minister's Office said in a statement posted on its website that Lee "passed away peacefully" at the hospital at 3:18 a.m. Monday.
The country's first and longest-serving prime minister, Lee guided Singapore through a traumatic split with Malaysia in 1965 and led the transformation of what was then a sleepy port city into a global trade and finance center. Although he could have remained in office for much longer, he stepped aside and handed over leadership of the ruling party, and the country, to a younger generation in 1990. Still, he remained an influential behind-the-scenes figure for many more years until his health deteriorated.
"In the end, my greatest satisfaction in life comes from the fact that I have spent years gathering support, mustering the will to make this place meritocratic, corruption-free and equal for all races -- and that it will endure beyond me, as it has," Lee said in his 2013 book, "One Man's View of the World."
President Barack Obama called Lee a "visionary" and "true giant of history."
"Lee's views and insights on Asian dynamics and economic management were respected by many around the world," Obama said in a statement. "No small number of this and past generations of world leaders have sought his advice on governance and development. "
U.N. Secretary-General Ban Ki-moon said he was "deeply saddened" by Lee's death. He noted that Singapore is marking its 50th anniversary of independence this year, and "its founding father will be remembered as one of the most inspiring Asian leaders," according to a statement released by Ban's spokesman.
Ban said Lee helped Singapore "transition from a developing country to one of the most developed in the world, transforming it into a thriving international business hub."
Lee's legacy includes an efficient government with little corruption, a successful public housing scheme, low tax rates to attract foreign investment, excellent schools and clean and safe streets, all of which have helped Singapore rank consistently near the top of surveys of the most livable cities for expatriates.
He faced criticism, though, for using tough tactics to consolidate power. He jailed some political rivals without trial for decades and brought defamation lawsuits against journalists and opposition politicians, which had a chilling effect on dissent.
Lee insisted that strict limits on free speech and public protest were necessary to maintain stability in a multiethnic and multi-religious country that witnessed race riots in the 1960s. That stability, he added, was needed to enable growth and raise living standards in a country with few natural resources.
"I had to do some nasty things, locking fellows up without trial," Lee said in an interview with The New York Times published in September 2010. "I'm not saying everything I did was right. But everything I did was for an honorable purpose."
Lee, whose People's Action Party has ruled Singapore since 1959, remained a powerful adviser with Cabinet minister status after stepping down as prime minister, and many Singaporeans, particularly older ones, viewed him as a wise, if strict, father figure.
Lee gave up his Cabinet minister post and resigned from the executive committee of the People's Action Party after 2011 parliamentary elections in which the ruling party won its lowest overall vote percentage since independence.
One of his sons, Lee Hsien Loong, is Singapore's current prime minister. He also is survived by another son, Lee Hsien Yang, and a daughter, neurologist Lee Wei Ling. His wife of more than 60 years, Kwa Geok Choo, died in October 2010.
Born Sept. 16, 1923, Lee grew up speaking English in a Singapore that was part of the British colonial empire, and was known as Harry during much of his early life. His university education was interrupted by the three-year Japanese occupation of the island in World War II, a time Lee said he learned how power could be wielded.
"The Japanese demanded total obedience, and got it from nearly all," he wrote in his memoirs. "My appreciation of governments, my understanding of power as the vehicle for revolutionary change, would not have been gained without this experience."
After completing his studies at Singapore's Raffles College, Lee went to England to study law at Cambridge University. There, he married Kwa, a fellow student, in 1947. He returned to Singapore in 1950 and started the law firm Lee & Lee with his wife in 1955.
In 1954, Lee helped found the People's Action Party in alliance with communist trade unionists -- whom he would later break with -- and he became Singapore's first prime minister in 1959 when Britain granted it self-governance in all matters except defense and foreign affairs.
Singapore declared independence from Britain in 1963, and Lee, believing his island couldn't survive alone, brought it into the federation of neighboring states that became Malaysia. But the Malay leadership asked Singapore to leave after two years because of ideological differences. Lee wept on national television while announcing the breakup, which he later would call one of his biggest political regrets.
He then turned to governing his tiny island state, imposing strict policies that some saw as micromanaging the daily lives of Singaporeans. Lee promoted English and Mandarin while banning other Chinese dialects from public schools, radio and TV. He also enforced ethnic integration by controlling the makeup of public apartment buildings, where 80 percent of the population lives. The micromanaging continued even under his successor, Goh Chok Tong, who banned the sale of chewing gum because people would stick them on subway doors.
"I say without the slightest remorse, that we wouldn't be here, we would not have made economic progress, if we had not intervened on very personal matters -- who your neighbor is, how you live, the noise you make, how you spit, or what language you use. We decide what is right. Never mind what the people think," Lee said in 1987.
Lee also cracked down on organized crime and imposed harsh penalties for minor infractions, a policy that has helped Singapore maintain one of the world's lowest violent crime rates.
Drug couriers face mandatory hanging, vandals are sometimes caned -- such as American teenager Michael Fay in 1994 despite a plea for leniency from President Bill Clinton -- and litterbugs must pay a hefty fine.
Lee stayed active in his later years, commenting on domestic and international affairs and representing Singapore on frequent trips abroad.
The government declared seven days of national mourning and ordered flags to fly at half-staff on state buildings.