OPINION OF THE COURT
On April 1,1976, appellant pleaded guilty to murder of the second degree and was sentenced to life imprisonment. No appeal was taken from the judgment of sentence. In January of 1977, appellant filed a pro se petition under the Post Conviction Hearing Act, 19 P.S. §§ 1180-1 et seq., seeking to set aside his guilty plea. Counsel was appointed and an amended petition was filed. After an evidentiary hearing, the Court of Common Pleas of Beaver County denied the petition. This appeal followеd.
*139 Ralph F. Aumack was found dead in his home on the afternoon of October 30,1975. An autopsy revealed that his death was caused by a gunshot wound to the head. Appellant, then fifteen years of age, was arrested on the evening of the next day. He was given Miranda warnings by police and without consulting an interested adult admitted that he shot the victim.
According to appellant’s confession the victim caught appellant in the act of burglarizing the victim’s home. After the victim phoned the police, apрellant attempted to flee and a struggle ensued. The victim knocked appellant down and began choking him. Appellant then pulled a gun from his pocket and shot the victim. After taking the victim’s wallet and other articles, appellant left the sсene in the victim’s car.
On November 3, 1975, an information was filed against appellant charging him with murder of the first and second degree. The Commonwealth possessed evidence that, contrary to appellant’s confession, appellant had planned the killing. The Commonwealth agreed that if appellant pleaded guilty to murder of the second degree he would not be tried for murder of the first degree. Appellant entered his guilty plea in accordance with this plea agreеment.
Appellant contends that the post-conviction hearing court erred in refusing to set aside his guilty plea. He argues that he is entitled to collateral relief on three grounds: (1) that his plea was the result of an illegal confession and that his counsel was ineffective in failing to move for its suppression; (2) that although appellant stated a defense of self-protection during his guilty plea colloquy the record of that colloquy fails to demonstrate a knowing waiver of that defense; and (3) that trial counsel’s failure to advise appellant of the availability of the defense of self-protection rendered the plea involuntary, unknowing, and unintelligent. Review of appellant’s claims satisfies us that they are *140 unmeritorious. We therefore affirm the post-conviction hearing court’s denial of the petition. 1
I
Appellant argues first that he should be permitted to withdraw his guilty plea because it was primarily motivated by a constitutionally defective confession and was entеred on the ineffective advice of counsel.
2
The post-conviction hearing court agreed with appellant that his confession was illegally obtained because he was not afforded an opportunity to consult with an interested adult. E. g.,
Commonwealth v. McCutchen,
The record before the court revealed that the murder weapon had been identified as a gun given to appellant on October 29, 1975, and that police had a note written by appellant prior to the killing expressing his intention to kill the victim. In addition, a co-participant in the burglary was able to verify the contents of the note and also to testify that when he left the scene of the burglary appellant remained in the victim’s home. Appellant was aware of this damaging evidence when he entered his guilty plea and knew that by accepting the plea agreement he avoided a *141 charge of murder of the first degree. 4 Although appellant testified at his post-conviction hearing that his confession was the major factor which led him to plead guilty and although defense counsel testified that the confession was an “important factor” in his decision to recommend thе plea, the post-conviction hearing court found that other evidence and circumstances motivated the guilty plea. This determination of the court is supported by the record. 5
II
Appellant further contends that his testimony at the guilty plea hearing made out a complete defense of self-protection under section 505 of the Crimes Code, 18 Pa.C.S.A. §§ 101 et seq. He argues that because the record of that hearing fails to show that he knowingly waived the defense, his plea was not vоluntary, knowing, and intelligent and must now be set aside. In
Commonwealth v.
Rodgers,
“We have often held that when a guilty plea is accompanied by the assertion of facts which make out a defense to the crimes charged, the plea may not be accepted unless thе discrepancy is resolved. The defendant must be aware, and the record must show that he is aware, that his defense cannot be considered when he enters a guilty plea. The record must affirmatively demonstrate that he knows that by pleading guilty he waives the opportunity to *142 assert facts which may establish the defense of self-defense.”
Accord,
Commonwealth v. Roundtree,
At his guilty plea hearing appellant admitted that on October 29, 1975, he burglarized the victim’s home and shot the victim:
“Q. Do you understand that charge [murder]?
A. Yes.
Q. What does it mean to you?
A. It means I shot him.
Q. For no reason?
A. I was in his house when he come home. He caught me.
Q. He caught you doing what?
A. Caught me in his house.
Q. What were you doing there?
A. Burglarizing.”
After further questioning by the court, appellant testified to the following events:
“Well, I hid in the cellarway, and he come in the house, And I guess he walked through the house, and he found me. I tired [sic] to get away. He closed the door on me, and he called the police, told them to come to his house right away. And as soon as he hung up, I tried to get away again. I couldn’t get out the back door. And hе come and started fighting. And he started choking me. That’s when I shot him.”
This testimony does not support or even suggest that at the time appellant shot the victim he believed the victim was threatening him with unlawful deadly force. Rather, it merely describes appellant’s unlawful use of deadly force during a struggle with the unarmed homeowner precipitated by appellant’s attempt to flee after the police had been *143 called. It is, of course, beyond dispute that a killing caused by a burglar in the course of an attempt to flee the scene of the burglary constitutes murder of the second degree. 6 In the circumstances of this case where appellant’s degree of guilt was limited by agreement to murder of the second degree, there was nо need for any further on-the-record inquiry.
Ill
Appellant also claims that his guilty plea was involuntary because his trial counsel advised him that self-protection was not available as a defense to murder of the second degree. Appellаnt has, however, failed to show that counsel’s advice lacked a reasonable basis designed to advance appellant’s interest.
This Court stated in
Commonwealth ex rel. Washington v. Maroney,
“We cannot emphasize strongly enough, however, that our inquiry ceases and counsel’s assistancе is deemed constitutionally effective once we are able to conclude that the particular course chosen by counsel had some reasonable basis designed to effectuate his client’s interests. The test is not whether other alternatives were more reasonable, employing a hindsight evaluation of the record. Although weigh the alternatives we must, the balance tips in favor of a finding of effective assistance as soon as it is deter *144 mined that trial counsel’s decisions had any reasonable basis.”
See
Commonwealth v. Wideman,
*145 Appellant’s petition for PCHA relief was properly denied.
Order affirmed.
Notes
. It is appropriate to address appellant’s claims in this collateral attack because defensе counsel’s alleged ineffectiveness, if proven, would excuse the failure to raise the claims on direct appeal. Post Conviction Hearing Act, 19 P.S. §§ 1180-3(d), 1180—4(b); see
Commonwealth v. Tunnell,
. If proved these allegations would justify the relief sought. See.
Commonwealth v. Kittreles,
. The post-conviction hearing court also concluded that defense counsel was not ineffective in failing to move to suppress appellant’s confession. In view of our disposition, we need not address this issue or the issue whether the court was correct in concluding that appellant’s confession was illegally obtained.
. The post-conviction hearing court also noted that appellant testified at the PCHA hearing that his plea was influenced “a little bit” by trial counsel’s advice that the defensе of self-protection was unavailable.
. Appellant contends in his brief that all the additional evidence described above was inadmissible as the fruit of an illegal confession. The record does not substantiate this argument. The amended PCHA pеtition itself makes no claim that evidence other than the confession was illegally obtained, nor does the record show that any argument was made or evidence presented to the post-conviction hearing court to sustain apрellant’s contention. On one occasion during the post-conviction hearing defense counsel was asked whether the inculpatory note written by appellant was discovered as a result of the confession. Defense counsel would not testify that it was and appellant offered no evidence to prove a connection.
. 18 Pa.C.S.A. § 2502(b) provides:
“(b) Murder of the second degree. — A criminal homicide constitutes murder of the second degree when the death of the victim occurred while defendant was engaged as a principal or an accomplice in the perpetration of a felony.”
Section 2502 further provides:
“ ‘Perpetration of a felony.’ The act of the defendant in engaging in or being an accomplice in the commission of, or an attempt to commit, or flight after committing, or attempting to commit robbery, rape, or deviate sexual intercourse by force or threat of force, arson, burglary or kidnapping.”
See
Commonwealth v. Elliott,
. At the time of appellant’s guilty plea the death penalty was in existence as a possible sentence for murder of the first degree under the Crimes Code, 18 Pa.C.S.A. § 1102, and the Sentencing Code, 18 Pa.C.S.A. § 1311. These provisions were subsequently held unconstitutional in
Commonwealth v. Moody,
. At the post-conviction hearing, defense counsel gavе his reasons for his advice that a self-protection justification was not available to appellant:
“Basically we talked about the fact that although he says — although the police said they felt the evidence did not indicate, Bruce said Mr. Aumack was choking him, although the police said there was no sign of a struggle in the place. He said Mr. Aumack was choking him. He pulled the gun out in self defense and shot him. I told Bruce, since he was committing a felony at the time Mr. Aumack caught him, and that fraсas, if it did happen, occurred the way he said it did, he could not use the defense of self defense, because he was committing a felony at’ the time. Therefore, conferring with the District Attorney, I felt second degree murder was the proper рlea in this case, especially since there was possible evidence of first degree murder. And I did not want to take the chance of going to trial and a possible first degree murder. That is why we ended up entering a plea of second degree murder.”
