Complex sentence: Legend says that sage Agasthya, performed intense penance and as a result lord Narayana blessed this place and promised to reside here.
Split into simpler sentences: Legend says that sage Agasthya, performed intense penance here. As a result lord Narayana blessed this place and promised to reside here.