Markets took a breather and ended marginally lower after hovering in a range. It opened in the green, taking cues from the global markets but the gains soon fizzled out due to continuous profit-taking in banking and financial stocks.