President Barack Obama released a statement on Wednesday after the death of Senate Edward Kennedy, expressing his condolences to all the family members.

Our hearts and prayers go out to them today--to his wonderful wife, Vicki, his children Ted Jr., Patrick and Kara, his grandchildren and his extended family, Obama said in the statement.

Senator Edward Kennedy died of brain cancer at age 77 on late Tuesday night . He died at home in Hyannis Port (Massachusetts), his family said.

Below is the statement released by president Obama after Kennedy's death:

Michelle and I were heartbroken to learn this morning of the death of our dear friend, Senator Ted Kennedy.

For five decades, virtually every major piece of legislation to advance the civil rights, health and economic well being of the American people bore his name and resulted from his efforts.

I valued his wise counsel in the Senate, where, regardless of the swirl of events, he always had time for a new colleague. I cherished his confidence and momentous support in my race for the Presidency.

And even as he waged a valiant struggle with a mortal illness, I've profited as President from his encouragement and wisdom.

An important chapter in our history has come to an end. Our country has lost a great leader, who picked up the torch of his fallen brothers and became the greatest United States Senator of our time.
And the Kennedy family has lost their patriarch, a tower of strength and support through good times and bad.

Our hearts and prayers go out to them today--to his wonderful wife, Vicki, his children Ted Jr., Patrick and Kara, his grandchildren and his extended family.