A woman who had just come out of the shower bravely confronted one of two intruders who had broken into her house.
A court heard that brothers Shaun Davies and Dwight Davies went to the premises in Middle Cottages, South Wigston, and knocked on the door.
When there was no answer, they entered the house.
Alan Murphy, prosecuting, told Leicester Crown Court that having come out of the shower the 25-year-old woman heard whispering downstairs.
He said: "She realised that there were intruders."
As Shaun Davies made his way up the stairs, she bravely confronted him.
He made an excuse and left.
When she looked out of the window she could see the intruder and another man outside and she called the police.
The brothers were arrested nearby, in Queen's Drive.
The incident happened at 2.20pm on May 29 this year.
Mr Murphy said: "It left her shaken and upset."
Shaun Davies (25), of Ashleigh Road, West End, Leicester, was jailed for two years and five months.
Dwight Davies (23), of Saffron Lane, Leicester, who had fewer previous convictions than his brother, was jailed for 16 months.
Judge Simon Hammond said: "Both of you should realise the effect that burglary has on victims.
"It's very upsetting for them and for many their homes are never the same again.
"She must have been very frightened.
"This young lady came out of the shower and realised these two defendants had broken into her home.
"It was very upsetting for her.
"Anyone who burgles homes must invariably go inside, particularly in this case, where a householder was present."
In mitigation, the court heard the brothers had difficult childhoods after they were abandoned by their mother at a young age.
Vasanti Vaitha, mitigating for Shaun Davies, said: "He got into bad company and got into drugs."
She said he had since reflected on his wrongdoing while on remand in custody and now wanted to mend his ways and be a good father for his son.
Sian Cutter, for Dwight Davies, said her client, a former scaffolder, ended up homeless or in a hostel, depressed and drifting – after finding himself out of work.
She said he wanted to go to prison to "settle down" and sort his life out.
He also would be able to secure future employment in the scaffolding trade if he obtained a Health and Safety qualification, something which he could attain whilst serving his sentence in jail.