Why do newlyweds break a champain glass at their wedding?

I’ve been to a wedding and the couple broke the glass after toasting the people. What’s the meaning of this? Is it done only at jewish weddings or Greek weddings? I understand it must be a custom but where did it began?