Twitter is finally buying TweetDeck for more than $40 million in cash and stocks. TweetDeck is a third-party client for the Twitter and It is the most popular Twitter application with a 19% market share as of June 2009, following only the official Twitter.com website with 45.70% share for posting new status updates.

Last month, the Wall Street Journal reported that Twitter might buy TweetDeck.

A few months ago there was a report that UberMedia, the top developer of apps and Web-based services for Twitter users and other social media platforms, was in chat to acquire Tweetdeck. However, the deal didn't go through.

Twitter has known to either downplay third-party apps or purchase them outright.

TweetDeck would be an important tool for either service, as it's now one of the most popular clients.

Twitter and TweetDeck confirmed the acquisition in blog posts published Wednesday, with Twitter promising to continue to invest in the TweetDeck that users know and love.

The terms were not disclosed .