Sun Microsystems bought Star Division, the original creators of StarOffice, which was proprietary. Sun open sourced OpenOffice, with StarOffice still available with proprietary add-ons. When Oracle bought up Sun, they first reduced resources to OpenOffice and then shut it down altogether when LibreOffice came along, with trademarks and such assigned to the Apache project.