But , the President William Henry Harrison dies just after one month of becoming the President of the United States . After this , John Tyler became the President . After the sudden death of President William Henry Harrison just one month after taking office , John Tyler became President of the United States .