The present invention relates to indoline alkaloid compounds. In particular, indoline alkaloid compounds of the invention have antibacterial activity and/or are capable of resensitizing the susceptibility of methicillin-resistant S. aureus to a β-lactam antibiotic. The present invention also relates to a method for producing and using the same.