(CNN) -- Ending his social media silence of more than three months, President Hugo Chavez announced his return to Venezuela from Cuba on Twitter, where he had been undergoing cancer treatment.
"We come back to the country of Venezuela," Chavez tweeted from his official account. "Thank God! Thank you dear people! Here we continue the treatment."
Vice President Nicolas Maduro said his boss returned to Caracas at 2:30 a.m. local time Monday. The nation's minister of communications also announced the news.
Venezuelans have seen very little of their leader in recent months and have heard even less. The Twitter post early Monday on the president's account is the first since Nov. 1.
Venezuelans got the first glimpse of their ailing president on Friday in a series of photos the government released in a televised announcement.
In the photos, Chavez is lying on a blue pillow, flanked by his two daughters.
He is smiling, and his face looks a little swollen.
In the weeks since having cancer surgery on Dec. 11, officials have been criticized for giving vague, sometimes contradicting updates on the president's health.
Chavez, who has shown his strength after past surgeries by calling in to speak on state television, uncharacteristically has not been heard from or seen.
Chavez is temporarily having difficulty speaking after doctors inserted a tracheal tube, Venezuelan Information Minister Ernesto Villegas said.
"Two months after a complicated post-surgery period, the patient remains conscious, fully intellectually aware, in thorough communication with his governing team and on top of the fundamental duties of his post," Villegas said.
A respiratory infection that the president suffered has been controlled, but he still has some "insufficiency" in his breathing, Villegas said.
The photos were taken Thursday evening at the Cuban hospital where Chavez is being treated, the minister said.
Chavez's allies maintain that he's running his country from Havana, while critics say that the country is in limbo without a leader. Chavez's lengthy absence from Venezuela hasn't stopped his government from making some significant changes.
This week, the country devalued its currency, creating fear among some Venezuelans that the move would mean a sharp spike in the cost of imported goods. The decision came straight from Chavez, officials said.
Speaking to the Telesur network, Venezuela's minister of science, technology and innovation, Jorge Arreaza, said Chavez is able to communicate even if he has some difficulty speaking.
"He can communicate," Arreaza said. "He writes, he can be understood. It's not the voice he is known for, but he can communicate."
Chavez's voice difficulties are "reversible," he said.
Health problems prevented Chavez from coming to Caracas for an inauguration ceremony on January 10. While political opponents said that postponing the inauguration was unconstitutional, Venezuela's Supreme Court sided with Chavez's party, which had argued that the president did not need to be present at his swearing-in for his next term to begin.
Instead of a traditional inauguration ceremony, throngs of supporters in Caracas swore an oath of loyalty in Chavez's absence. Many waved flags and carried photos of the ailing president.
On Friday, Villegas said he was confident that Chavez would return to Venezuela sooner, rather than later.
CNN's Patrick Oppmann and Catherine E. Shoichet contributed to this report.
™ & © 2013 Cable News Network, Inc., a Time Warner Company. All rights reserved.