A former serviceman carried out sex attacks on two sisters within minutes of each other.
Aaron Hickman, 24, molested a 16-year-old girl and then tried to rape her younger sister at a house in Fife.
Hickman, of Kirkcaldy, Fife, pleaded with his victims not to tell anyone and claimed it would be their fault if he went to prison.
Jailing him for three years and nine months at the High Court in Edinburgh, judge Lord Uist said: “These were opportunistic crimes. What possessed you to act in such a manner I do not know. Each victim must have been terrified by the sudden attack upon her.”
Hickman earlier admitted sexually assaulting the older girl and attempting to rape the younger victim on July 7 last year. He was placed on the sex offenders’ register indefinitely.
The court earlier heard that the girls were at the house when Hickman arrived.
He tried to kiss the older girl and pushed her onto a bed.
Advocate depute Jane Farquharson QC said she managed to push her attacker away and went to a bathroom and locked the door, feeling scared.
Hickman went into a bedroom where the younger girl was and kissed her.
The court heard that she tried to push him away but he would not stop.
Miss Farquharson said: “The complainer wanted to shout for someone but was too scared.”
The older girl saw him leaving the room where her sister had been and went in and found her looking scared.
The prosecutor said: “She burst out crying and told her that the accused had tried to have sex with her.”
The sisters sat with their backs to the door to prevent Hickman coming back into the room.
Miss Farquharson said: “The accused was pleading with them not to tell anyone as he would lose his job. He said it will be their fault if he went to jail.”
Hickman continued to contact them via Snapchat and repeatedly apologised to them.
The prosecutor said: “He said that he had not been able to control himself, that it had happened so fast and that he had not been thinking.”
The victims later revealed what had happened and police were contacted. Hickman was arrested two days after the attacks at the RAF base at Lossiemouth in Morayshire.
Defence counsel Michael Anderson said: “He has lost his job with the RAF as a consequence of what he did.”
He told the court: “He apologised almost immediately and is still sorry.”
Mr Anderson said that Hickman, who was on bail, was assaulted earlier this month following the commission of the offence.