Zachary Taylor ( November 24 , 1784 - July 9 , 1850 ) was the 12th President of the United States . Zachary Taylor ( November 24 , 1784 â `` July 9 , 1850 ) was the 12th President of the United States ( 1849-1850 ) and an American military leader .