In a large skillet or pot, cook bacon and onion until bacon is crispy and onion is almost caramelized.
Remove from heat and stir in drained beans, ketchup and brown sugar
Pour into 9x9 baking dish, cover with foil and bake at 350 degrees for 1 hour. Take foil off and bake for an additional 15-20 minutes
