We two started the company, started making profits after one year and started growing. It was a great time back then, especially as one of the first companies which could make small iPhone apps for other companies. We had so much to do.
But after some time, I think it was about 2 years after we started, the guy who invested the money needed it back, but because we were growing and invested back into the company we ourselves didn't have the money yet to pay him back. This is when he sold his 51% shares to a guy who nobody of us knew.
Which was the beginning of the end of our company, because in direct contrast, suddenly we weren't in the driving seat anymore but that new guy who had completely different ideas what to do with the company. He also screw us up on a personal level and we hated his guts for that, which didn't help or a professional level. And because he already had more than enough money he started using this company as a way to avoid taxes more than to deliver great products to customers.
We still tried hard, but after 2 years my friend left and shortly after that me and the other two devs too, which left him the sales guys and the accountant.
Also, knowing what you know now, would it be better to sell the whole company when your investor wanted an exit? Or what you think you should've done?
Personal life came in between and people later moved around, etc. now we all have normal regular jobs at bigger companies.
I'd say I learned never give 51% to the person who only invests money but not his life, blood and sweat into it. It's not worth it and it will screw you up.
I can shed some light on this phenomenon. I've been in the situation where we sold half our company to someone who was also active in the same branch as us. When the sale happened we were convinced we were going to do great things together! Take over the world, so to say. As time progressed we (the founders / owners) found out we might have had the same goals but not the same methods. And our methods simply weren't compatible.
In the end it ended with lawyers and we bought back the half of the company we sold.
The above is obviously a very condensed recollection of what happened (ie. There are a whole bunch of nuances omitted).